Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

VS 2010 [RESOLVED] How to get the BindingSource.Current of a different form?

$
0
0
Hi -

Is it possible for form B to read form A's BindingSource current position?

For example, if "x" is an integer variable on Form B:

Quote:

Dim frm as Form
frm = FormA

x = frm.BindingSource.Current("RecordID")
I can read other Form A properties from Form B (e.g., the Form A's ActiveControl.Name).

Appreciate anyone's input on this question.

Viewing all articles
Browse latest Browse all 27554

Trending Articles



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