473,424 Members | 1,941 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,424 software developers and data experts.

Link to SQL Server Tables without dbo_ prefix.

How do link SQL Server tables to a Access front end without having the
dbo prefix?
I have to change the name of many tables.
For Examble: dbo_Customer to Customer.

Sep 2 '07 #1
6 5589
"to*******@msn.com" <to*******@msn.comwrote in
news:11*********************@k79g2000hse.googlegro ups.com:
How do link SQL Server tables to a Access front end without having
the dbo prefix?
I have to change the name of many tables.
For Examble: dbo_Customer to Customer.

for each file in the window
Click once on the name, press the F2 key, edit and press Enter
loop

programmatically
open the tabledefs collection,
loop through each tabledef in the collection,
.edit
tabledef.name = mid(tabledef.name,4)
..update
loop

for a hundred tables, the manual way is faster than writing and
debugging the code

--
Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

Sep 2 '07 #2

"Bob Quintal" <rq******@sPAmpatico.cawrote in message
news:Xn**********************@66.150.105.47...
"to*******@msn.com" <to*******@msn.comwrote in
news:11*********************@k79g2000hse.googlegro ups.com:
>How do link SQL Server tables to a Access front end without having
the dbo prefix?
I have to change the name of many tables.
For Examble: dbo_Customer to Customer.

for each file in the window
Click once on the name, press the F2 key, edit and press Enter
loop

programmatically
open the tabledefs collection,
loop through each tabledef in the collection,
.edit
tabledef.name = mid(tabledef.name,4)
.update
loop

for a hundred tables, the manual way is faster than writing and
debugging the code
Might want to check to assure they are linked tables before modifying the
name... or that they have the "dbo" prefix... Every production access
client DB using ODBC-linked tables that I've worked on had local lookup
tables, in addition to the linked tables.

Larry Linson
Microsoft Access MVP
Sep 2 '07 #3
"Larry Linson" <bo*****@localhost.notwrote in
news:obHCi.966$kI5.613@trnddc08:
>
"Bob Quintal" <rq******@sPAmpatico.cawrote in message
news:Xn**********************@66.150.105.47...
>"to*******@msn.com" <to*******@msn.comwrote in
news:11*********************@k79g2000hse.googlegr oups.com:
>>How do link SQL Server tables to a Access front end without
having the dbo prefix?
I have to change the name of many tables.
For Examble: dbo_Customer to Customer.

for each file in the window
Click once on the name, press the F2 key, edit and press Enter
loop

programmatically
open the tabledefs collection,
loop through each tabledef in the collection,
.edit
tabledef.name = mid(tabledef.name,4)
.update
loop

for a hundred tables, the manual way is faster than writing and
debugging the code

Might want to check to assure they are linked tables before
modifying the name... or that they have the "dbo" prefix... Every
production access client DB using ODBC-linked tables that I've
worked on had local lookup tables, in addition to the linked
tables.

Larry Linson
Microsoft Access MVP
So do the ones I see, but I left that to the OP as part of the
debugging. :-)

--
Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

Sep 3 '07 #4
Hi ???,

You can try my tool :
http://www.logicielappui.com/tips/Ac...ginMDB_SQL.zip
Best regards

Bob
<to*******@msn.coma écrit dans le message de
news:11*********************@k79g2000hse.googlegro ups.com...
How do link SQL Server tables to a Access front end without having the
dbo prefix?
I have to change the name of many tables.
For Examble: dbo_Customer to Customer.
Sep 3 '07 #5
"Logipro" <no*******@nowhere.comwrote
You can try my tool :
http://www.logicielappui.com/tips/Ac...ginMDB_SQL.zip
And, it might turn out to be legitimate, but downloading and executing
something that does not even go to the site before triggering the download
might be just a little risky.

Larry

Sep 4 '07 #6
Right !

But my Web Site was just in French : http://www.logicielappui.com/tips
Bob
"Larry Linson" <bo*****@localhost.nota écrit dans le message de
news:hu3Di.6921$3R5.5609@trnddc05...
"Logipro" <no*******@nowhere.comwrote
>You can try my tool :
http://www.logicielappui.com/tips/Ac...ginMDB_SQL.zip

And, it might turn out to be legitimate, but downloading and executing
something that does not even go to the site before triggering the download
might be just a little risky.

Larry
Sep 6 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Patrick | last post by:
Not having dabbled with this before I would appreciate some help: I have installed SBS and SQL Server on a machine and used the wizard to import a BE file with about 180 tables successfully. I...
1
by: ANSWER | last post by:
I have two tables with words. First table has 2 fields: German, Croatian. Second table has 2 fields: German, English. First table in the German field miss attributes (der, die, das), (pl). This...
5
by: Christoph Sticksel | last post by:
Hi, I'm having problems with attaching two tables stored in an SQL Server 2000 to an Access 97 database. It worked well for all other tables except those two. This is what I did: Choose the...
8
by: ZRexRider | last post by:
Hi, I am working on an Access application where the author used SQL back end via linked tables. I wrote some general functions that would execute pass through queries and was going to call...
4
by: sbowman | last post by:
I'm linking a bunch of tables that are in SQL to my Access db and I get the following error on 3 of the tables: "Seq.Group is not a valid name." I tried doing an import instead of a link, but I got...
13
by: Steve | last post by:
Hi; A friend of mine is publishing a book that includes 3000 citations, many with urls. When he made his bibliography he chopped off the "http://"s off of his urls. I wrote a program to...
5
by: Amoril | last post by:
I've read quite a few different message on various boards and for some reason I'm still having trouble wrapping my head around this viewstate maintenance and trying to get these dynamically created...
4
by: perryche | last post by:
Is this possible? Instead of using the link wizard, can the FE/BE link be established any other way that users can simply type the link path? Thanks, Perry
6
by: Matt | last post by:
Hi All, I have found a version of my answer on GG, but I have not been able to find my exact answer, thus the post. I am using Access 2000 Situation: I have a multi user frontend database...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.