Anyone know how we can open the add table dialog in an Access 2000 ADP
that's using a SQL Server back end?
We've got the toolbars and menus locked down and are using custom ones.
When they open a view in design view (via a query manager form), we run
code to show the correct menu and toolbar. The one thing we haven't
been able to do is open the "AddTable" dialog in Access 2000. In later
version we can use
DoCmd.RunComman d acCmdTableAddTa ble
But that wasn't introduced until Access XP, according to
http://www.tkwickenden.clara.net/list/listt.htm.
Here's what we're trying to do:
If SysCmd(acSysCmd AccessVer) = "9.0" Then
call DoCmd.RunComman d ([whatever this is])
'Or anything else that will get the job done
Else
call DoCmd.RunComman d (acCmdTableAddT able)
End If
In an mdb using a Jet back end (any version from 2K on), I can do
call DoCmd.RunComman d (acCmdShowTable )
but in the adp, with the connection to SQL Server, that doesn't
work--it's a different dialog box. The new command (acCmdTableAddT able)
works great in XP and 2003, but doesn't compile in 2000.
Any thoughts?
Jeremy
--
Jeremy Wallace
Fund for the City of New York
that's using a SQL Server back end?
We've got the toolbars and menus locked down and are using custom ones.
When they open a view in design view (via a query manager form), we run
code to show the correct menu and toolbar. The one thing we haven't
been able to do is open the "AddTable" dialog in Access 2000. In later
version we can use
DoCmd.RunComman d acCmdTableAddTa ble
But that wasn't introduced until Access XP, according to
http://www.tkwickenden.clara.net/list/listt.htm.
Here's what we're trying to do:
If SysCmd(acSysCmd AccessVer) = "9.0" Then
call DoCmd.RunComman d ([whatever this is])
'Or anything else that will get the job done
Else
call DoCmd.RunComman d (acCmdTableAddT able)
End If
In an mdb using a Jet back end (any version from 2K on), I can do
call DoCmd.RunComman d (acCmdShowTable )
but in the adp, with the connection to SQL Server, that doesn't
work--it's a different dialog box. The new command (acCmdTableAddT able)
works great in XP and 2003, but doesn't compile in 2000.
Any thoughts?
Jeremy
--
Jeremy Wallace
Fund for the City of New York
Comment