D
doyle60
How do I requery the main form when I close a pop up form that, after
being filled out, changes data on the main form?
More specifically, I have a button on the main form that bolds the
type if there is data connected to the record that is entered on a pop
up. This bolding works just great and is very helpful to users.
Except when the user fills out the data on the pop up and closes the
pop up, the button does not bold right away. It only bolds if you
joggle from one record to the other, of course. So I want to requery
the form when the pop up is closed BUT, and this is the tricky part as
you probably know, I want the main form to stay on the same record
after the requery.
By the way, though I do not think it matters, I get my Command button
to bold with a hidden subform and another control on the main form.
Main Form Name: EntryForm2
Key Field: PO
Hidden Subform: VTIPOBNLinkfrm
Hidden Control: VTIID (Control source: =[VTIPOBNLinkfrm].[Form]!
[VTIID])
Command Button to bold: Command5453
Popup Form: VTIHeaderfrm
Thanks,
Matt
being filled out, changes data on the main form?
More specifically, I have a button on the main form that bolds the
type if there is data connected to the record that is entered on a pop
up. This bolding works just great and is very helpful to users.
Except when the user fills out the data on the pop up and closes the
pop up, the button does not bold right away. It only bolds if you
joggle from one record to the other, of course. So I want to requery
the form when the pop up is closed BUT, and this is the tricky part as
you probably know, I want the main form to stay on the same record
after the requery.
By the way, though I do not think it matters, I get my Command button
to bold with a hidden subform and another control on the main form.
Main Form Name: EntryForm2
Key Field: PO
Hidden Subform: VTIPOBNLinkfrm
Hidden Control: VTIID (Control source: =[VTIPOBNLinkfrm].[Form]!
[VTIID])
Command Button to bold: Command5453
Popup Form: VTIHeaderfrm
Thanks,
Matt