Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

UPsizing to SQL Server and Local Reference

Posted on 2011-03-05
2
Medium Priority
?
341 Views
Last Modified: 2012-05-11
I have an enternal Access accb that contained all of my tables for a front end applicaition. I upsized those tables to a SQL Server. When I set up the link to the front end to the SQL server, it appends dbo_ to the table name. Is there a way to keep thios from happening when setting up the link? I don't want to have to locally rename all of the tables fro all users.

Thanks
0
Comment
Question by:ChuckRush
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 1000 total points
ID: 35043980
Won't you be re-issuing the front-end ?  You're bound to have to change it in some ways to use a SQL server backend.  So you only have to rename the tables once in your development front-end.

But you could write code to rename all the tables to exclude the dbo prefix.

untested...
dim tdf as dao.tabledef
for each tdf in currentdb.tabledefs
if left(tdf.name, 4) = "dbo_" then tdf.name = mid(tdf.name, 5)
next tdf
0
 

Author Comment

by:ChuckRush
ID: 35046215
Thanks Peter!

I used this in conjunction wi th docmd.rename. I somehow thought that there was a hidden step that i was missing.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question