Hi,
I want to insert some records into a table. (The records are from one table (TProducts) and depended on user input, the records will be copied to another table (TProject) for user to make changes. Hence in the Table TProject, the records would be vary).
At present, I used a query to do it , during the docmd.openquery, I did a DLookUp to see whether there was record already inserted. If there was then I don't need to do the insertion of record otherwise I append records to TProject.
I received runtime error 94. how can I check for this error in the code (don't know how to) some basic syntac would be good.
Or anyone has any suggestion as to how to achieve the above, insert records into another table base on user selection.
Many thanks
I want to insert some records into a table. (The records are from one table (TProducts) and depended on user input, the records will be copied to another table (TProject) for user to make changes. Hence in the Table TProject, the records would be vary).
At present, I used a query to do it , during the docmd.openquery, I did a DLookUp to see whether there was record already inserted. If there was then I don't need to do the insertion of record otherwise I append records to TProject.
I received runtime error 94. how can I check for this error in the code (don't know how to) some basic syntac would be good.
Or anyone has any suggestion as to how to achieve the above, insert records into another table base on user selection.
Many thanks