Bill Bisco
Custom User Title
- Local time
- Today, 13:39
- Joined
- Mar 27, 2009
- Messages
- 92
On my Subform I have a textbox whose AfterUpdate Event runs a query that Updates the Value listed in the Textbox to a Table.
When this button is clicked the first time, the Table Value does not actually update. When Clicked a Second Time, the Table Value does update.
The VBA Code is:
I've attached my database. To see what I'm talking about for yourself, under "View LS and RS Stations" Click the Combo Box and Choose Stations 1, 2, or 3. Try to change a SEQ, hit enter. Then exit the Form, and Open it up again.
Any help is appreciated.
Sincerely,
Bill
When this button is clicked the first time, the Table Value does not actually update. When Clicked a Second Time, the Table Value does update.
The VBA Code is:
Code:
Public Sub txtProcessSEQ_AfterUpdate()
Dim qryName8 As String
Dim qryName9 As String
qryName8 = "qupdProcessSelectProposedSEQ"
qryName9 = "qupdProcessSelectCurrentSEQ"
' DoCmd.SetWarnings False
DoCmd.OpenQuery qryName8
DoCmd.OpenQuery qryName9
DoCmd.SetWarnings True
Me.Parent.Refresh
End Sub
I've attached my database. To see what I'm talking about for yourself, under "View LS and RS Stations" Click the Combo Box and Choose Stations 1, 2, or 3. Try to change a SEQ, hit enter. Then exit the Form, and Open it up again.
Any help is appreciated.
Sincerely,
Bill