473,395 Members | 1,556 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,395 software developers and data experts.

Open Linked Table in Exclusive mode ( DAO)

How to open a linked table in exclusive mode from a FORM in DAO ???

(but,...... please I need it in DAO.)

Thank you !

Javier Gomez
Nov 13 '05 #1
2 3922
Javier Gomez wrote:
How to open a linked table in exclusive mode from a FORM in DAO ???

(but,...... please I need it in DAO.)

Thank you !

Javier Gomez


Last time I did this was in Access 2.0 and that just couldn't place a
real exclusive lock on a linked table, I had to go about it by opening
the backend database in DAO and opening from there. I don't know if
later versions are better than this.

set rst=db.OpenRecordset("linked table name",dbOpenDynamic,dbDenyRead)

or if you have the backend table open in the db variable

set rst=db.OpenRecordset("table name",dbOpenTable,dbDenyRead)

--
[Oo=w=oO]

Nov 13 '05 #2
Thank you! for your answer I 'll try it !
But any body knows if with Access 2003 is it any other way, or better
way, to do it ???

regards
Javier Gomez

Trevor Best <no****@besty.org.uk> wrote in message news:<42**********************@news.zen.co.uk>...
Javier Gomez wrote:
How to open a linked table in exclusive mode from a FORM in DAO ???

(but,...... please I need it in DAO.)

Thank you !

Javier Gomez


Last time I did this was in Access 2.0 and that just couldn't place a
real exclusive lock on a linked table, I had to go about it by opening
the backend database in DAO and opening from there. I don't know if
later versions are better than this.

set rst=db.OpenRecordset("linked table name",dbOpenDynamic,dbDenyRead)

or if you have the backend table open in the db variable

set rst=db.OpenRecordset("table name",dbOpenTable,dbDenyRead)

Nov 13 '05 #3

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

Similar topics

5
by: deko | last post by:
How to run action query against linked table? I have an Access 2003 mdb with an Excel 2003 Workbook as a linked table. When I attempt to run an action query against the linked table I get this...
1
by: Chuck Van Den Corput | last post by:
I have encountered a problem that I am hoping someone can shed some light on. I have a multi-user A97 app. All users have a personal front-end MDE accessing a shared back-end. There is no...
1
by: robert demo via AccessMonster.com | last post by:
I'm trying to retrieve the connection string for a linked table in a backend that is password protected. I've modified the code shown below to temporarily check that the backend has been...
1
by: Frank Rizzo | last post by:
I am trying to open a file in exclusive mode for writing. Is the code below correct? FileStream oStream = File.Open(FileName, FileMode.Open, FileAccess.Write, FileShare.None); The purpose is...
2
by: Mat | last post by:
Or how to check if it's open in exclusive mode...? Thx
3
by: jbsfe | last post by:
I have "Spilt" my database and the "lookup" and "seek" methods that previously worked, no longer do. I have learnd from reviewing the posts that the "lookup" and "Seek" methods cannot be used on...
22
by: RayPower | last post by:
I'm having problem with using DAO recordset to append record into a table and subsequent code to update other tables in a transaction. The MDB is Access 2000 with the latest service pack of JET 4....
1
by: buclas | last post by:
Hi, I need to link a mdb file and make sure it opens in a non-exclusive mode. I looked for a similar post but none was answered. I know there is a specific param to add to the command line to...
0
by: Moor | last post by:
I'm unable to to open a linked table T that is stored in an Access 2.0 MDB database file (shared/back-end,) using both Access 2.0 and Access 2003, in the same time. Here is the scenario: 1-...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.