473,804 Members | 3,153 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Locking and Transferdatabas e

Hi all,
I am trying to use transferdatabas e to link tables to a shared backend.
If someone is already using the back end, transferdatabas e tries to
lock the table and causes an error. Is there another way to control
locking on transferdatabas e since no data is in question? Is there
any other way to link tables other than ADOX?
Thanks
Pachydermitis
Nov 12 '05 #1
2 1942
TC
You can link tables using DAO (and VBA). Check out online help for the DAO
Connect property. You should be able to find some examples, from there.

HTH,
TC
"Pachydermi tis" <de******@hotma il.com> wrote in message
news:4f******** *************** ***@posting.goo gle.com...
Hi all,
I am trying to use transferdatabas e to link tables to a shared backend.
If someone is already using the back end, transferdatabas e tries to
lock the table and causes an error. Is there another way to control
locking on transferdatabas e since no data is in question? Is there
any other way to link tables other than ADOX?
Thanks
Pachydermitis

Nov 12 '05 #2
Thanks. I'm trying to avoid DAO as it is causing the problems I'm having.

"TC" <a@b.c.d> wrote in message news:<107466217 2.596098@teutho s>...
You can link tables using DAO (and VBA). Check out online help for the DAO
Connect property. You should be able to find some examples, from there.

HTH,
TC
"Pachydermi tis" <de******@hotma il.com> wrote in message
news:4f******** *************** ***@posting.goo gle.com...
Hi all,
I am trying to use transferdatabas e to link tables to a shared backend.
If someone is already using the back end, transferdatabas e tries to
lock the table and causes an error. Is there another way to control
locking on transferdatabas e since no data is in question? Is there
any other way to link tables other than ADOX?
Thanks
Pachydermitis

Nov 12 '05 #3

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

Similar topics

2
2122
by: Jer | last post by:
I am trying to export the results of a view from an .adp to an .mdb using TransferDatabase. The code I am using is DoCmd.TransferDatabase acExport, "Microsoft Access", _ "C:\___work\WayAhead\Implementation\XTRA_Samples.mdb" _ , acTable, "x_loe_vw", "LOE_tbl" When I run this I get an error that states " can't find the object 'x_loe_vw'". Yet it is defined as a view.
0
1664
by: KJones | last post by:
Here is the setup There are three Machines all running Access97 & XP Pro \\readingtill1 \\redingback \\redingtill2 on a LAN And four dbs
6
3179
by: dixie | last post by:
I am using the Docmd.TransferDatabase to transfer part of a table into another smaller database. The source comes from a select query that transfers the part of the table that I need. The problem is that I don't get the primary key at the other end of the transfer. All the fields and data are in place, but no primary key. This causes a problem with the database it is exported to. Is there a workaround to this problem. I can't find...
1
12491
by: Jens Hofmeier | last post by:
Hello, i want to transfer a table from database sourceMDB to a password protected database named destMDB. I was not able to figure out where to specify the required password ind the parameters of TransferDatabase. Can anyone help? Thanks, Jens
2
14621
by: AccessStarters | last post by:
I am trying to Import a simple dbase file into my Ak2 TABLES. If I do this manually, it works fine. I get a new table called DBASE with all the data looking good. If I try and do this using VBA code (see below) I get a path is not valid for "C:\Databases\dbase.dbf". I know it's valid and have tried putting it on the C root and still same error message. I am running Wk2 on single wstation. Any help on this will be much appreciated D....
6
2003
by: Dave Gehrig | last post by:
Hi guys, Using Access 2003 on XP. First time caller, long time listener. I am not a programmer per se, and all my training in coding in the past year or so has come from the wealth of info in these newsgroups, but I've finally hit a brick wall re importing tables from one Access db to another. I have set up an import routine that loops through db's in a specified
1
6954
by: Danny J. Lesandrini | last post by:
Does anyone know if it's possible to use TransferDatabase to export data to MySQL? If not, how would one go about it? Below is the code I tried to use, but it doesn't work. sTable = "tblLead" sODBC = "ODBC;Driver={MySQL ODBC 3.51 Driver};" & _ "SERVER=localhost;UID=root;PASSWORD=xxxxx;DATABASE=opc" sODBC = "ODBC;DSN=OPC;UID=root;PWD=xxxxx;DSN=dsn1" DoCmd.TransferDatabase acExport, "ODBC Databases", sODBC, acTable, sTable, sTable
1
3074
by: solar | last post by:
In copying tables i use the command Transferdatabase shown below.It is a good command, but i need the following refinement. I want to copy the table only when the Yes/No field "accepted" in the table Unis is set to Yes.Can i do it in the command, and if not, how can i set the condition ? DoCmd.TransferDatabase TransferType, "Microsoft Access", appath, acTable, "Unis", "Unis"
0
1748
by: rdemyan | last post by:
I'm trying to use TransferDatabase to transfer tables from an external secured DB to a database created in the code. I would like to kind of use automation, although OpenCurrentDatabase apparantly can't be made to work with secured databases. I saw a post where someone from MS recommended GetObject. My code below has two problems. I keep getting an unspecified error on the GetObject line. So, I've temporarily used On Error Resume Next...
0
9587
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,...
0
10588
Oralloy
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...
0
9161
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7623
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 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...
0
6857
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();...
0
5527
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...
0
5662
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3827
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2998
bsmnconsultancy
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...

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.