G
Guest
I have found instructions how to create a macro to launch a 'Please wait . .
..' message when opening a form, query, etc. Works nice.
I am lost how to get it to work with VBA when not simply opening a form,
query, etc. To the point: my main form contains a combo box that selects a
record. I want the user to see the message while its moving to the newly
selected record.
My afterupdate code in the combo box is:
' Find the record that matches the control.
Dim Rs As Object
Set Rs = Me.Recordset.Clone
Rs.FindFirst "[ClientID] = '" & Me![cboClient] & "'"
If Not Rs.EOF Then Me.Bookmark = Rs.Bookmark
I insert the run command first and it runs -- and closes. Meanwhile, the
new record is not viewed yet. What can I do to display the please wait
message once new record is selected until that new record is viewed.
Thanks.
..' message when opening a form, query, etc. Works nice.
I am lost how to get it to work with VBA when not simply opening a form,
query, etc. To the point: my main form contains a combo box that selects a
record. I want the user to see the message while its moving to the newly
selected record.
My afterupdate code in the combo box is:
' Find the record that matches the control.
Dim Rs As Object
Set Rs = Me.Recordset.Clone
Rs.FindFirst "[ClientID] = '" & Me![cboClient] & "'"
If Not Rs.EOF Then Me.Bookmark = Rs.Bookmark
I insert the run command first and it runs -- and closes. Meanwhile, the
new record is not viewed yet. What can I do to display the please wait
message once new record is selected until that new record is viewed.
Thanks.