25 pts.
 subform
I have one table and a main form and a subform. All fields for these form are in this table. The subform is called from the main form via a command button. When I go to the main form and go to, say record 3, it displays the correct data, but when I use the command button to open the subform the subform displays record 1. I thought that using the same table for all my forms would show that record in all subforms. Can anyone help Thanks Don

Software/Hardware used:
ASKED: March 22, 2009  3:46 PM
UPDATED: March 23, 2009  1:42 PM

Answer Wiki:
Sounds like a .Net application, but I can't be sure. When you create a new subform. It will re-initialize all records and variables unless you use a global variable on your main form to tell it to go to that particular record. It would be more helpful if you gave us the language your programming in. Sorry, this is an Access application. Thank you Don
Last Wiki Answer Submitted:  March 22, 2009  8:26 pm  by  mshen   27,310 pts.
All Answer Wiki Contributors:  mshen   27,310 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _