NJudson
Who farted?
- Local time
- Yesterday, 23:46
- Joined
- Feb 14, 2002
- Messages
- 297
I'm running a simple bit of code to delete the contents of a table and then populate the table based on a query. The problem is when I run the query I get 776 records. When I run the code to populate the table with the query then I only get 771 records. Can anyone help me to understand why I'm not getting all 776 records and what I might need to do to fix this? Thanks.
Function LoadAndrewTemplateContents()
Dim dbs As DAO.Database
Set dbs = CurrentDb
Dim SQL As String
Call ClearAndrewTemplateContents
SQL = "INSERT INTO AndrewTemplate SELECT * FROM qryCellDataFilterXorOmni": dbs.Execute (SQL)
End Function
Function ClearAndrewTemplateContents()
Dim dbs As DAO.Database
Set dbs = CurrentDb
dbs.Execute ("DELETE * FROM AndrewTemplate")
End Function
Function LoadAndrewTemplateContents()
Dim dbs As DAO.Database
Set dbs = CurrentDb
Dim SQL As String
Call ClearAndrewTemplateContents
SQL = "INSERT INTO AndrewTemplate SELECT * FROM qryCellDataFilterXorOmni": dbs.Execute (SQL)
End Function
Function ClearAndrewTemplateContents()
Dim dbs As DAO.Database
Set dbs = CurrentDb
dbs.Execute ("DELETE * FROM AndrewTemplate")
End Function