C
Claudette Hennessy
I have a simple continuous form with a text field containing company names.
I would like information to appear when the user clicks on the field, and
disappear when the user clicks on another company. The following sub brings
up the query ok, but then I can't close the query.
My first thought was to have the query open for 5 seconds or so and then
close, but I can't figure out how to do this, either.
Private Sub txtShopname_GotFocus()
Dim stDocName As String
stDocName = "qryDealerHistory"
DoCmd.OpenQuery stDocName, acNormal, acEdit
???????
End Sub
Thanks in advance,
Claudette Hennessy
I would like information to appear when the user clicks on the field, and
disappear when the user clicks on another company. The following sub brings
up the query ok, but then I can't close the query.
My first thought was to have the query open for 5 seconds or so and then
close, but I can't figure out how to do this, either.
Private Sub txtShopname_GotFocus()
Dim stDocName As String
stDocName = "qryDealerHistory"
DoCmd.OpenQuery stDocName, acNormal, acEdit
???????
End Sub
Thanks in advance,
Claudette Hennessy