I agree with Joe.
I have been developing in Access since 1997 (currently in Access 2007) and recently did a review of a client's needs looking at many options including opensource software.
Although it is going to be hard to "teach an old dog new tricks", I have recently started to teach...
I use a locking table and appropriate code to -
1. Flag the record as locked when the first user accesses it
2. Keep it "locked" and let anyone else who tries to access it know that they can not
3. When the first user as finshed with that record, "unlock" it
I know that Access etc. has its own...
Is this what you need?
Function FindSnapshotReports(strSearchPath) As String
On Error GoTo Errorhandler
Dim msaof As MSA_OPENFILENAME
msaof.strDialogTitle = "Save this Report as Snapshot Format"
msaof.strInitialDir = strSearchPath
msaof.strFilter =...
Will this achieve what you want? It is a Select query for a SQL database from an ADP.
SELECT TOP 100 PERCENT ID, Description, ISNULL(Address1, N'') + ISNULL(N', ' + Address2, N'') + ISNULL(N', ' + City, N'') + ISNULL(N', ' + State, N'')
+ ISNULL(N' ' + ZipCode, N'')...
Another idea which I have used successfully. It was originally designed to specify a particular printer for warehouse picksheets.
First when starting the Access application, I save the user's default printer.
Then I ask the user to specify a particular printer that they want to use for the...
Sorry for the long time in replying.
I have a table set up called Locking_Table. The fields are -
ID Autonumber
Table_Name Text
Record_ID Long Integer
User_Name Text
When_Locked Date/Time
In each form where I need it, in the form's Open event I have -
'Check to see if record...
Is your ADP using ADO (default) or DAO? You can have both if you want.
Your recordset is using DAO syntax and you might have to either change that to ADO or set the reference to DAO also.
What exactly is the error line?
Apart from this type of problem and minor syntax like removing rs.edit...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.