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...
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...
...Dim rst As New ADODB.Recordset
Dim strCriteria As String
Dim msg, style
LockRecord = False
strCriteria = "SELECT * FROM Locking_Table WHERE TableName = '" & strTableName & "' AND RecordID = '" & strTableKey & "';"
rst.Open strCriteria...
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...
Search in the Microsoft Knowledgebase for -
+error +5941 +bookmark
There are some results that could help you identify the issue.
Also maybe not related but I select my bookmark fields differently i.e.
With objWord.ActiveDocument
If .Bookmarks.Exists("LetterDate") = True...
This is the code I created for sending data directly from Access into a word document without using the Merge.
The purpose of this was to allow the Access application to not only have customer billing and payment transactions tracked but also customer correspondence.
I have not included all...
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.