Instead of relying on "record numbers" or positions, I think you should rely on the unique Id of that record instead.
On Jan 5, 3:39 pm, Markei54545 <[email protected]> wrote: > Hi all, > > I have a small problem with a vb.net 2005 program. > > On Form1, I have a datagridview listing out the contents of a dataset. > The user clicks on the required record and this record number is > passed through to a second form, with another another dataset, bound > to various fields on that form. > > I want to know if there is anyway I can read the position of the first > dataset, and pass it on to the second one so that the databound fields > in the second form reflect those selected in the first. > > Any help gratefully received. > > Regards > > Mark
