DataSet Question

L

Looch

If I create a dataset in a Form_Load sub, how can I use that dataset
in another sub (i.e Next_Click, which would move to the next record in
the dataset displaying the data on my form somewhat like an Access
form?)

Generally speaking of course, thanks for any insight.
 
B

Brian Gideon

If I create a dataset in a Form_Load sub, how can I use that dataset
in another sub (i.e Next_Click, which would move to the next record in
the dataset displaying the data on my form somewhat like an Access
form?)

Generally speaking of course, thanks for any insight.

Make the variable which holds a reference to the dataset a class
member. That way it is accessible from any method in the Form.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top