Microsoft
Software
Hardware
Network
Question : Tabledefs - object not set or invalid ??
Two pieces of code
Dim tbl As DAO.TableDef, db As DAO.Database, szConnect As String
Set db = CurrentDb
Set tbl = db.TableDefs("Funktionen")
szConnect = tbl.Connect
AND
Dim tbl As DAO.TableDef, szConnect As String
Set tbl = CurrentDb().TableDefs("Fun
ktionen")
szConnect = tbl.Connect
The first works, the second gives me an error about the object not being set or no longer valid (on the line szConnect = ....).
Access 2007 running an Access 2003 format mdb database.
Why ?
Answer : Tabledefs - object not set or invalid ??
see this link
"Object Invalid or No Longer Set" Error Using CurrentDb
http://support.microsoft.c
om/kb/1671
73
Random Solutions
multiple timers
Repeating Rows when adding a field
How do I add a * (asterisk) as a reg binary value for the Reg Add command
Default alias in Exchange 2010
Why are pointers efficient?
Remote access VPN via Thompson TG585 v7
How do i apply formatting to all hyperlinks in Word 2007?
Migrating from Lotus Notes to Mac Email Client
workflow/bpm engine in python
Exchange 2007 Standby Continuous Replication