subform

25 pts.
Tags:
Microsoft Access
Microsoft Access forms
Microsoft Access subforms
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

Answer Wiki

Thanks. We'll let you know when a new response is added.

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

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following