Tupacmoche
Registered User.
- Local time
- Today, 00:10
- Joined
- Apr 28, 2008
- Messages
- 291
I need direction in VBA code on how to check if a the data source for a Form is locked or not. Then, I can either continue with a process and lock down the table or open a msgbox and tell the user to try later table in use.:banghead:
Here is my pseudo-code :
If [Buyback Template t].RecordLocks = 1
Then
Msgbox( This function is not available at this time. Try again later)
Exit
Else
Forms(“Buyback f”).RecordLocks = 1
Here is my pseudo-code :
If [Buyback Template t].RecordLocks = 1
Then
Msgbox( This function is not available at this time. Try again later)
Exit
Else
Forms(“Buyback f”).RecordLocks = 1