D
Datatonic
I have a form when a button is clicked it performs some calculations,
then runs a query.
DoCmd.OpenQuery "qrySettlementBill"
I would like a message box to appear to say that no records were
returned and then return the user back to the form when the message box
is closed.
If the query does return records then I would like the following to
continue to happen.
Dim oApp As Object
Set oApp = CreateObject("Word.Application")
oApp.Visible = True
oApp.documents.Open "c:\Settlement.doc"
What do I need to do?
then runs a query.
DoCmd.OpenQuery "qrySettlementBill"
I would like a message box to appear to say that no records were
returned and then return the user back to the form when the message box
is closed.
If the query does return records then I would like the following to
continue to happen.
Dim oApp As Object
Set oApp = CreateObject("Word.Application")
oApp.Visible = True
oApp.documents.Open "c:\Settlement.doc"
What do I need to do?