Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

progressing through the records of an ACCDB query using navigation buttons("Previous record", "Next record", etc) in C# with WPF

$
0
0

I have designed an ACCDB-based multi-table query.

I need to fill form textboxes from the records retrieved using this query.

I have created the WPF project, linking each textbox to a field within the query.

I have gotten as far as running the query, with one single record retrieved, filling the textboxes.

I need to create navigation buttons which will cause field values from the next and previous records within the query results to be displayed, replacing the values previously displayed with each click of the appropriate navigation button.

The only examples I can find relate to listboxes and scrolling up and down, rather than navigating through the records retrieved in a query with only one record displayed at a time.

This type of navigation capability is automatic in Windows Forms, and I would like to create the same functionality using WPF and C# in the Visual Studio 2012 environment.

What should the 'C#' event code look like?



Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>