Hello,
I have frmGrades with a command button that opens frmAddress based on a query that selects records per key-in. When frmGrades is opened in ADD mode, I open frmAddress to find parcel number (ParID) that corresponds to the keyed in address. ParID is then inserted into tblGrades.
This is all working fine. However, after clicking the Accept button on frmAddress that inserts the parcel number into the field ParID, it does not display the new entry. If I close frmGrades and reopen in VIEW mode the field is populated and visible.
Is there a way with the form in ADD mode, once the field ParID is populated, for it to display and ultimately update other fields based on what’s in ParID? As a test, I placed a command button in frmGrades coded with:
Me.Recalc
Me.Repaint
Me.Refresh
DoCmd.RepaintObject
DoCmd.Requery (this caused a problem)
Any other suggestions would be greatly appreciated.
Thanks,
SKK
I have frmGrades with a command button that opens frmAddress based on a query that selects records per key-in. When frmGrades is opened in ADD mode, I open frmAddress to find parcel number (ParID) that corresponds to the keyed in address. ParID is then inserted into tblGrades.
This is all working fine. However, after clicking the Accept button on frmAddress that inserts the parcel number into the field ParID, it does not display the new entry. If I close frmGrades and reopen in VIEW mode the field is populated and visible.
Is there a way with the form in ADD mode, once the field ParID is populated, for it to display and ultimately update other fields based on what’s in ParID? As a test, I placed a command button in frmGrades coded with:
Me.Recalc
Me.Repaint
Me.Refresh
DoCmd.RepaintObject
DoCmd.Requery (this caused a problem)
Any other suggestions would be greatly appreciated.
Thanks,
SKK