Microsoft
Software
Hardware
Network
Question : Unknown reason for Error
Hi I have some code and am getting the following Error Message (When i remove On err go to.....)
Run Time Error '3078'
"The Microsoft Jet Database cannot find the input table or query ", make sure it exists and name is spelled correctly."
Can anyone advise from the below code why i would get this error?
Thanks
Seamus
Private Sub Command1_Click()
Dim db As Database
Set db = CurrentDb
DoCmd.SetWarnings False
CurrentDb.Execute SQL
mySQL = "ALTER TABLE [Employees who have had plug applied] ADD [Plug or Match] varchar(5)"
db.Execute mySQL
mySQL = "UPDATE [Employees who have had plug applied] SET [Plug or Match] = ""Plug"""
MsgBox "Flag Applied"
DoCmd.SetWarnings True
db.Execute mySQL
Exit Sub
Err_Here:
MsgBox "Flag Already Applied!!"
End Sub
Answer : Unknown reason for Error
Check out the following articles
http://msdn.microsoft.com/
en-us/libr
ary/ms9985
79.aspx
- Measuring performance
http://msdn.microsoft.com/
en-us/libr
ary/ms9985
81.aspx
- Testing performance
http://msdn.microsoft.com/
en-us/libr
ary/ms9985
83.aspx
- Tuning performance
All part of the Improving .NET Application performance and Scalability (
http://msdn.microsoft.com
/en-us/lib
rary/ff649
152.aspx
)
Random Solutions
Auto fill user name in "Login" field
backup multiple DBs in script
added shortcut to Public Desktop but some users not getting it - Win 2008 R2 Terminal Server
Mailman, the GNU Mailing List Manager - is there an interface to programmatically maintain email addrs?
Globally Hide Mouse after Inactive without using constantly running Timer Interval
how to add swap partition to exsting swap in redhat linux
What's the probability of an American being killed by a terrorist? 1970's 1980's 1990's 2000's
Update Panel not loading DropDown
UltraTree and Filtering ?
visual studio 2005 express