sambucaman
Registered User.
- Local time
- Today, 14:26
- Joined
- May 6, 2010
- Messages
- 41
Hi all
I have the following bit of code
Which id like to run from a switchboard button. Any ideas how id go about this?
Thanks
I have the following bit of code
Code:
Private Sub Command6_Click()
Dim lngRecordCount As Long
lngRecordCount = DCount("*", "Customers")
lngRecordCount1 = DCount("*", "Stores")
MsgBox "There are " & lngRecordCount & " customers and " & lngRecordCount1 & " stores in the Starlight Database."
End Sub
Which id like to run from a switchboard button. Any ideas how id go about this?
Thanks