J
John Harrington
If I want to make a button on MyOpenForm that opens a form with a
table record source to a specific ID (e.g., 2) in the table, I write
the following in the buttons click event:
DoCmd.OpenForm "MyForm", , , "ID = 2"
Suppose I have MyForm embedded in MyOtherForm as a subform. How would
I rewrite the above line so that the subform opens to record ID 2?
Thanks,
John
table record source to a specific ID (e.g., 2) in the table, I write
the following in the buttons click event:
DoCmd.OpenForm "MyForm", , , "ID = 2"
Suppose I have MyForm embedded in MyOtherForm as a subform. How would
I rewrite the above line so that the subform opens to record ID 2?
Thanks,
John