Hi folks,
I have a database that goes to a client for evaluation/purchase as an
Access2k2FE / Access2k2 BE. When they decide to upsize to MySQL or SQL
Server, I would like an easy way to allow them to switch table
sources.
When I try to use Linked Table Manager, and the Find a File dialog
pops up, it only gives me the option to look for .mdb or *.*. I would
have thought it could allow me to choose an ODBC data source, but it
doesnt appear to do so.
So instead I can use File / Get External Data / Link tables, except
the obvious drawback is that it's a complicated manual process, and I
don't want clients to have to do this.
I can code the RefreshLinks sample to do it all (I have versions that
do Access refreshes or SQLServer refreshes, with the ODBC string and
all), but will it allow me to use and swap the same TableDef connect
string for either the Access version of the table or the 'upsized'
SQLServer version of the same table?
As usual, about this time in the resolution of the problem I think
that lot's of colleagues must have been down this road already - so
any suggestions or alternative solutions would be much appreciated.
Ray 2 1316
If you know what the Connect property should be in each case, and you know
which tables need to be connected, you can loop through the TableDefs
collection, deleting each existing linked table and adding a new one.
Doesn't matter whether it's to Jet backend or using ODBC.
--
Doug Steele, Microsoft Access MVP http://I.Am/DougSteele
(no e-mails, please!)
"Ray" <ra*@aic.net.au > wrote in message
news:9f******** *************** ***@posting.goo gle.com... Hi folks,
I have a database that goes to a client for evaluation/purchase as an Access2k2FE / Access2k2 BE. When they decide to upsize to MySQL or SQL Server, I would like an easy way to allow them to switch table sources.
When I try to use Linked Table Manager, and the Find a File dialog pops up, it only gives me the option to look for .mdb or *.*. I would have thought it could allow me to choose an ODBC data source, but it doesnt appear to do so.
So instead I can use File / Get External Data / Link tables, except the obvious drawback is that it's a complicated manual process, and I don't want clients to have to do this.
I can code the RefreshLinks sample to do it all (I have versions that do Access refreshes or SQLServer refreshes, with the ODBC string and all), but will it allow me to use and swap the same TableDef connect string for either the Access version of the table or the 'upsized' SQLServer version of the same table?
As usual, about this time in the resolution of the problem I think that lot's of colleagues must have been down this road already - so any suggestions or alternative solutions would be much appreciated.
Ray ra*@aic.net.au (Ray) wrote: I can code the RefreshLinks sample to do it all (I have versions that do Access refreshes or SQLServer refreshes, with the ODBC string and all), but will it allow me to use and swap the same TableDef connect string for either the Access version of the table or the 'upsized' SQLServer version of the same table?
Yes, I've done this in the past although I never finished the upsizing process on
that database.
1) I much prefer DSN-Less connections as it is one less thing for someone to have to
configure and one less thing for the users to screw up. This is also better for
Citrix/TS farms where each individual system would have to have a DSN created and
maintained.
Using DSN-Less Connections http://members.rogers.com/douglas.j....LessLinks.html
ODBC DSN-Less Connection Tutorial Part I http://www.amazecreations.com/datafa...m&Article=true
HOWTO: Use "DSN-Less" ODBC Connections with RDO and DAO http://support.microsoft.com/?id=147875
ODBC DSN Less http://www.able-consulting.com/MDAC/...BC_DSNLess.htm
2) The SQL Server tables will have dbo. as the table name. You can strip that out
when creating the Access table name.
Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at http://www.granite.ab.ca/accsmstr.htm This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Stormblade |
last post by:
Hey all,
I have a web app that uses SQLServer 2000. I am switching to MySQL 4.
1.1. I have re-created all the tables but I'm running into 2 problems.
1. In SQLServer I can create a date field and as the default value I
|
by: Paradigm |
last post by:
I am using Access 2K as a front end to MySQL running on a Linux server.
I am having trouble connectiong to the server. MySQL control centre connects
and I can connect using a DSN data source. But if I connect using the
following code
Dim constr As String
Dim tbl As DAO.TableDef
constr = "ODBC;DRIVER={MySQL ODBC 3.51 Driver};DESC=;USER=" & SQLServerUser
_
|
by: Paradigm |
last post by:
I am using Access 2K as a front end to MySQL running on a Linux server.
I am having trouble connectiong to the server. MySQL control centre connects
and I can connect using a DSN data source. But if I connect using the
following code
Dim constr As String
Dim tbl As DAO.TableDef
constr = "ODBC;DRIVER={MySQL ODBC 3.51 Driver};DESC=;USER=" & SQLServerUser
_
|
by: com |
last post by:
Extreme Web Reports 2005 - Soft30.com
The wizard scans the specified MS Access database and records
information such
as report names, parameters and subqueries. ...
www.soft30.com/download-1-11975.htm - 31k - Cached - Similar pages
MDBSecure 1.0.8.0 - Soft30.com
Utility which makes it easy to create secure MS Access Databases, ...
MS Access
2000/2003 format. 30 day money back guarantee, 30 day trial. ...
|
by: Rosny |
last post by:
From the article
http://software.newsforge.com/software/05/01/27/170244.shtml?tid=132&tid=75&tid=131&tid=13
"Flickr runs on MySQL, the most popular open source database, and it has
from the beginning. Today Flickr has around a quarter of a million users and
serves around 5,000 pages per minute, generating about 100,000 database
queries. "
Now if we run above scenario in Windows 2003 Web edition and SQLServer 2000
on Windows 2003...
| |
by: Ian Baker |
last post by:
We have developed an Access/Jet database (2000, XP & 2003 versions) that has
been used by clients all around the world for several years and is extremely
robust with 55 tables, 172 hard stored queries (plus about the same in VBA
SQL code), 60 forms and about 18,000 lines of code. The biggest advantage
with Access is that it doesn't cost the client anything for if they don't
have Access already then we provide the Runtime version which makes...
|
by: codercode |
last post by:
I'm working on a Visual Basic .NET using Access database. However, my
client already have a 30MB database with Sybase ASA and Sybase is way
too much for that. Is there anyway I can migrate from a Sybase to
Access? or is it possible at all. If it is not, can these two databases
co-exist together?
|
by: teejayem |
last post by:
Hi,
I am new to programming with databases and was wanting some help.
Is there any way to password protect an access database and access
sent sql commands to it via vb.net code?
Any help would be much appreciated.
Thanks in advanced.
|
by: thatsrohit |
last post by:
Hi , I need One Help
I have one database(bibleGallery) which is in sql server2000.
with eight tables
1) tblArtists,
2) tblBasePrice,
3) tblcategories,
4) tblPricegroup,
5) tblProducts,
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |