Hi,
If the following line of code does not work
Application.RefreshDatabaseWindow
Then use these following lines of code
DoCmd.SelectObject acTable, , True
SendKeys "{F5}"
I hope this helps! If you have additional questions on this topic, please
respond back to this posting.
Regards,
Eric Butts
Microsoft Access Support
"Microsoft Security Announcement: Have you installed the patch for
Microsoft Security Bulletin MS03-026? If not Microsoft strongly advises
you to review the information at the following link regarding Microsoft
Security Bulletin MS03-026
<
http://www.microsoft.com/security/security_bulletins/ms03-026.asp> and/or
to visit Windows Update at <
http://windowsupdate.microsoft.com/> to install
the patch. Running the SCAN program from the Windows Update site will help
to insure you are current with all security patches, not just MS03-026."
--------------------
| Thread-Topic: Creating a table object on .ADP file
| thread-index: AcP+mBZI49HIHiV9SGuvaQK0VSpBDw==
| X-Tomcat-NG: microsoft.public.access.tablesdbdesign
| From: =?Utf-8?B?RGFuaWVs?= <
[email protected]>
| Subject: Creating a table object on .ADP file
| Date: Sat, 28 Feb 2004 23:46:05 -0800
| Lines: 4
| Message-ID: <
[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.access.tablesdbdesign
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.access.tablesdbdesign:76493
| NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
| X-Tomcat-NG: microsoft.public.access.tablesdbdesign
|
| I created a new table (during runtime) by using an SQL Statement.
The problem is that Access does'nt 'know' it until it reconnects to the
server.
How can I tell it to create the table object for the new table ?
|