Ok, here is the deal. I have a datagrid that is bound to a customer file. when the user clicks on any field in a record, it should open a new form with that customer's information in it. it does open the form, it does have information in it, but the problem is this:
let's say there are just two records for simplicity.
record customer number 1
and
record customer number 2
when the user clicks on customer 2 it opens the form with customer 1's info. then, the user closes the form, and clicks on customer 2 again and it opens with customer 2's info. when the user clicks customer 1, it opens with customer 2's info and then when the user clicks customer 1 again, it then opens with customer 1's info. it is basically acting like the record that is clicked is selected AFTER the form is opened. I want to know how i can change that order. I need it to select that record in teh datagrid control BEFORE the form is opened so that it will open the form with the correct record the first time. not the second like it is doing. please, any help would be wonderful. I have looked just about everywhere i can think. Thank you. Steve Harper
let's say there are just two records for simplicity.
record customer number 1
and
record customer number 2
when the user clicks on customer 2 it opens the form with customer 1's info. then, the user closes the form, and clicks on customer 2 again and it opens with customer 2's info. when the user clicks customer 1, it opens with customer 2's info and then when the user clicks customer 1 again, it then opens with customer 1's info. it is basically acting like the record that is clicked is selected AFTER the form is opened. I want to know how i can change that order. I need it to select that record in teh datagrid control BEFORE the form is opened so that it will open the form with the correct record the first time. not the second like it is doing. please, any help would be wonderful. I have looked just about everywhere i can think. Thank you. Steve Harper