If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > External Tables problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-17-02, 11:38
Smiley1 Smiley1 is offline
Junior Member
 
Join Date: May 2002
Posts: 17
External Tables problem

I have the following code,

MyDb.Execute _
("SELECT [Items Used On Jobs].* INTO Temp2 " _
& "From [Items Used On Jobs] left join [IU Backup] as IUB " _
& "on [Items Used On Jobs].[Audit Index] = IUB.[Audit Index] " _
& "where IUB.[Audit Index] is null")

if MyDb.RecordsAffected > 0 then
'Add new records to IU Backup
MyDb.Execute ("INSERT INTO [IU Backup] SELECT * FROM Temp2;")
endif

The question I have is how do I access the table "IU Backup" if it is in an external database.

Many thanks if you can help
Reply With Quote
  #2 (permalink)  
Old 05-17-02, 14:56
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
Are you using access for the backup and original ?
Reply With Quote
  #3 (permalink)  
Old 05-17-02, 19:17
Smiley1 Smiley1 is offline
Junior Member
 
Join Date: May 2002
Posts: 17
Yes
Access for both tables

Thanks
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On