> Can you refer me some documentation, samples, etc?
Access Help for the I/O Access Method you are using is a simple source. For
example, putting your cursor in the word OpenRecordset and pressing F1 in
either Access 2002 or 2003 will take you to the Help on the OpenRecordset
method, which will explain each of the arguments used in the OpenRecordset
method:
Set recordset = object.OpenRecordset (source, type, options, lockedits)
scrolling down will take you to the various built-in constants that may be
used in the lockedits argument.
Open a Form in design view. If the Property Sheet isn't open, right-click
the upper-leftmost little box and choose "Properties". Click the Data tab of
the Property Sheet, and you'll see one of the Properties on that page is
"Record Locks".
Include appropriate error handling code in the VBA module or the Form's
module.
In either case, choose the least restrictive level of locking. Use that
while you develop and test. When you subject your application to heavy user
testing, if you find that you have "collisions" very often, you may have to
increase the locking level to a more restrictive one.
I haven't had to do so, but I have not developed many heavily-used multiuser
applications; most of my work has been with either single-user databases, or
with Access clients to server databases, so you can't take it as a good
indicator of what level of locking you will end up using.
Larry Linson
Microsoft Access MVP
Salvador - 02 Jun 2006 07:24 GMT
Does it apply if I'm using Visual Studio .Net 2003 Pro and VB and C# .Net?
I only use Access to build databases but all Select, Insert, Update and
Delete is made with VB or C#.
Don't you any have example for these programming languages?
Thanks
> > Can you refer me some documentation, samples, etc?
>
[quoted text clipped - 29 lines]
> Larry Linson
> Microsoft Access MVP
Larry Linson - 05 Jun 2006 03:42 GMT
> Does it apply if I'm using Visual Studio .Net
> 2003 Pro and VB and C# .Net?
[quoted text clipped - 5 lines]
> Don't you any have example for these
> programming languages?
Access is the user interface and development tool; it is unfortunate that we
are "sloppy" in our terminology because you are using a Jet database engine
database. As I do not develop database applications in any DotNet language,
no, I do not have programming examples, and this is not the appropriate
newsgroup for them.
The Microsoft online interface to newsgroups can sometimes be confusing, but
if you continue scrolling down and looking, you will find sponsored
newsgroups on the DotNet languages, and most likely, some that are
specifically about database access using ADO.NET.
Larry Linson
Microsoft Access MVP
Salvador - 05 Jun 2006 16:34 GMT
Ok Larry. Thank you for your help
> > Does it apply if I'm using Visual Studio .Net
> > 2003 Pro and VB and C# .Net?
[quoted text clipped - 19 lines]
> Larry Linson
> Microsoft Access MVP