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 have created a System DSN and connected to the SQL Server from
another PC and linked the tables, the tables all appear as
dbo_tablename.
Does this mean that I would have to go through all my queries and code
in the FE and change the table name references?
Regards
Patrick 6 2649
Patrick:
The answer is yes; you'll have to change the name of the table in any Access
based queries. Use a good find and replace utility like Rick Fisher's Find
and Replace for Access ( www.rickworld.com) to save yourself oodles of time.
However, to get the full benefit of the SQL Server, you should also upsize
your FE's queries (so long as they don't contain user defined VBA functions)
to the server as well and then use pass through queries in the FE to fetch
the data from the Server's newly created View or SP. This avoids using the
jet engine and uses the SQL Server engine to pull all the data, reducing
network traffic and enhancing speed substantially.
--
Steve Arbaugh
ACG Soft http://ourworld.compuserve.com/homepages/attac-cg
"Patrick" <in**@businessformat.co.uk> wrote in message
news:8t********************************@4ax.com... 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 have created a System DSN and connected to the SQL Server from another PC and linked the tables, the tables all appear as dbo_tablename.
Does this mean that I would have to go through all my queries and code in the FE and change the table name references?
Regards Patrick
> The answer is yes; you'll have to change the name of the table in any Access based queries. Use a good find and replace utility like Rick Fisher's Find and Replace for Access (www.rickworld.com) to save yourself oodles of time.
Hi Steve and Patrick,
There is also a possibility to just rename the linked tables.
I had the same problem with a complicated app when the backend was upsized to SQL-server.
I made a function (so you can call this in a macro) to do so (DAO-code)
Function RenameODBC()
Dim db as DAO.Database
Dim i As Integer
Set db = CurrentDb
db.TableDefs.Refresh
For i = 0 To db.TableDefs.Count - 1
If Not db.TableDefs(i).SourceTableName = "" Then 'ivm MSys*
If Left(db.TableDefs(i).Name, 4) = "dbo_" Then
DoCmd.Rename Mid(db.TableDefs(i).Name, 5), acTable, db.TableDefs(i).Name
End If
End If
Next i
db.TableDefs.Refresh
End Function
--
Hope this helps
Arno R
Is there a utility to upsize queries?
"SA" <~f***********@nspm.com> wrote in message
news:bn**********@ngspool-d02.news.aol.com... Patrick:
The answer is yes; you'll have to change the name of the table in any
Access based queries. Use a good find and replace utility like Rick Fisher's
Find and Replace for Access (www.rickworld.com) to save yourself oodles of
time. However, to get the full benefit of the SQL Server, you should also upsize your FE's queries (so long as they don't contain user defined VBA
functions) to the server as well and then use pass through queries in the FE to fetch the data from the Server's newly created View or SP. This avoids using
the jet engine and uses the SQL Server engine to pull all the data, reducing network traffic and enhancing speed substantially.
-- Steve Arbaugh ACG Soft http://ourworld.compuserve.com/homepages/attac-cg
"Patrick" <in**@businessformat.co.uk> wrote in message news:8t********************************@4ax.com... 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 have created a System DSN and connected to the SQL Server from another PC and linked the tables, the tables all appear as dbo_tablename.
Does this mean that I would have to go through all my queries and code in the FE and change the table name references?
Regards Patrick
I've used a similar approach, but you can also rename the TableDefs
manually, if there are not too many.
Some, however, think the "dbo_" serves nicely to distinguish between server
tables and local (usually "lookup") tables. If that's not a consideration,
then the "dbo_" prefix is contentless and can be dispensed with. In one
client's application, all the local tables were prefixed with "tlkp" because
of the project's naming standard, so any table without "tlkp" was, by
convention, a server table.
Larry Linson
Microsoft Access MVP
"Arno R" <ar****************@tiscali.nl> wrote in message
news:3f**********************@dreader2.news.tiscal i.nl... The answer is yes; you'll have to change the name of the table in any
Access based queries. Use a good find and replace utility like Rick Fisher's
Find and Replace for Access (www.rickworld.com) to save yourself oodles of
time. Hi Steve and Patrick,
There is also a possibility to just rename the linked tables. I had the same problem with a complicated app when the backend was upsized
to SQL-server. I made a function (so you can call this in a macro) to do so (DAO-code)
Function RenameODBC() Dim db as DAO.Database Dim i As Integer Set db = CurrentDb db.TableDefs.Refresh For i = 0 To db.TableDefs.Count - 1 If Not db.TableDefs(i).SourceTableName = "" Then 'ivm MSys* If Left(db.TableDefs(i).Name, 4) = "dbo_" Then DoCmd.Rename Mid(db.TableDefs(i).Name, 5), acTable,
db.TableDefs(i).Name End If End If Next i db.TableDefs.Refresh End Function
-- Hope this helps Arno R
I have just read Arnos reply, I may try that, it was too obvious, I
should of thought of that myself.
Is there any collective wisdom out there as to the difference in speed
between SQL Server BE with Access FE and Access FE/BE with Terminal
Services when talking about 5 to 10 users.
Patrick
On Wed, 29 Oct 2003 14:05:07 +0000, Patrick
<in**@businessformat.co.uk> wrote: 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 have created a System DSN and connected to the SQL Server from another PC and linked the tables, the tables all appear as dbo_tablename.
Does this mean that I would have to go through all my queries and code in the FE and change the table name references?
Regards Patrick
"Patrick" <in**@businessformat.co.uk> wrote in message
news:p4********************************@4ax.com... I have just read Arnos reply, I may try that, it was too obvious, I should of thought of that myself.
Is there any collective wisdom out there as to the difference in speed between SQL Server BE with Access FE and Access FE/BE with Terminal Services when talking about 5 to 10 users. Patrick
Too broad of a question. I would say that speed should seldom (if ever) be
the overriding issue when moving from Access to a server-based product.
Certain things might be faster after the change, but I wouldn't hang my hat
on that one possibility. Reliability, concurrency, security, scalability,
etc., are more important reasons to go to a server engine.
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Wolfgang Kaml |
last post by:
Hello All,
I have been working on this for almost a week now and I haven't anything up
my sleeves anymore that I could test in addition or change....
Since I am not sure, if this is a Windows...
|
by: Jerome |
last post by:
Hi, I'm a bit confused ... when would I rather write an database
application using MS Access and Visual Basic and when (and why) would I
rather write it using Visual Studio .Net?
Is it as easy...
|
by: premmehrotra |
last post by:
I currently have a multi-user access database which is put on a shared
drive L: on a Windows Servers. Entire database is one file premdb.mdb.
Users access this database from their laptops....
|
by: John Baker |
last post by:
Hi:
I am URGENTLY in need of some book or web site OR tool that will help me integrate a
relatively simple access application into a web page or pages. This is a time recording
system (by...
|
by: Uwe Range |
last post by:
Hi to all!
A customer of mine told me some days ago that her IT-people told her
ACCESS would not be such a good idea for continuing with our project,
because Access will not be continued in the...
|
by: DaveG |
last post by:
Hi all
I am planning on writing a stock and accounts program for the family
business, I understand this is likely to take close to 2 years to
accomplish. The stock is likely to run into over a...
|
by: Cheryl Langdon |
last post by:
Hello everyone,
This is my first attempt at getting help in this manner. Please
forgive me if this is an inappropriate request.
I suddenly find myself in urgent need of instruction on how to...
|
by: B1ackwater |
last post by:
We've fooled around with Access a bit, but only using the
single-user store-bought version. It seems to be a good
database - versatile and infinitely programmable - and
can apparently be used as a...
|
by: Jordan S. |
last post by:
SQL Server will be used as the back-end database to a non trivial client
application.
In question is the choice of client application:
I need to be able to speak intelligently about when one...
|
by: nihad.nasim |
last post by:
Hi there,
I have a database in Access that I need on the web. The web page
should connect to the database and write records for certain tables
and view records for others. I want to know a...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
|
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,...
|
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...
| |