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 > ASP > Changing the Linked Table Name

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-29-06, 07:19
moulikjads moulikjads is offline
Registered User
 
Join Date: May 2006
Posts: 1
Red face Changing the Linked Table Name

Hi All,

I am using the code below to change the name of the linked tables. It is giving me an error "User Defined type not defined"

Dim Jads As DAO.TableDef
For Each Jads In CurrentDb.TableDefs
If Left(Jads.Name, 4) = "dbo_" Then Jads.Name = Mid(Jads.Name, 5)
Next Jads

Please help.
Reply With Quote
  #2 (permalink)  
Old 05-29-06, 07:30
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
this is not a mysql question

moving thread to, oh, let me guess, the asp forum
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On