WickyScratch
New member
- Local time
- Today, 03:19
- Joined
- Oct 30, 2013
- Messages
- 3
I am currently working on an Access 2007 application for a non-profit with a low budget.
I was just informed that they are having issues on two machines that they upgraded to Windows 8 from 7. I was not advised that there would be OS upgrades when the project was scoped and started.
They receive runtime error 2486 in a "Resize" event. There *IS* an "Open" event as well.
I wonder if maybe the code is processing too fast, and if maybe I need to add a timer of some sort within?
The code it errors on is the Docmd.RunSQL line in the following:
I was just informed that they are having issues on two machines that they upgraded to Windows 8 from 7. I was not advised that there would be OS upgrades when the project was scoped and started.
They receive runtime error 2486 in a "Resize" event. There *IS* an "Open" event as well.
I wonder if maybe the code is processing too fast, and if maybe I need to add a timer of some sort within?
The code it errors on is the Docmd.RunSQL line in the following:
Code:
Dim tbl As TableDef
For Each tbl In CurrentDb.TableDefs
Select Case Left(tbl.Name, 3)
Case "tmp"
DoCmd.RunSQL "DROP TABLE " & tbl.Name & ";"
End Select
Next tbl