Welcome to dbFreaks.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

DAO 3.6 record locking

 
   Database Help (Home) -> Visual Basic RSS
Related Topics:
Can I Update entire record in SQL ? - Heya, I am working on making a SQL database an exact mirror of a local Access database. I check the .mdb database every few minutes for new entries, if there are new entries, I retrieve them and write them to an exact replica table in SQL. This all works

New record with data from other form - I would like to open a addrecord form. In this form I would like teh Field DebNr to be filled with the value of the field DebNr in my (open) form FrmStam. I used the code ; Private Sub As Integer) If

Open form to add record with fielddata from an open form - How do I open a form to add a record and get the data for 1 field from a specific field in a open form. I have used the following code ; Private Sub As Integer) If Then = _ ..

sql query returns in wrong format - Hi, Hope someone can help me with this. I have MS SQL 2000 database where i have Table and there a column wich is data type All data in this column is in form So why when i run .asp page with simple query to..

arrays - is there a way to the contents of an array (looping through the array) and storing each item in a comma delimited string? Thanks!
Next:  Visual Basic: Cannot Delete Pocket Access File  
Author Message
Allen Anderson

External


Since: Feb 09, 2004
Posts: 3



(Msg. 1) Posted: Thu Feb 17, 2005 5:40 pm
Post subject: DAO 3.6 record locking
Archived from groups: comp>lang>basic>visual>database (more info?)

Hello,

I want to lock users' password records after they log on to a VB6
application. I want to be able to determine who is logged on to the
database by polling each password record to see if it is locked or not.
(DBF files allowed this sort of locking and checking to see who was logged
on at a given moment.) Can DAO 3.6 do this? It seems the new record-level
locking is not under programmer control, except on a global record-level vs
page-level basis when edits are happening.

Thanks,
Allen Anderson

 >> Stay informed about: DAO 3.6 record locking 
Back to top
Login to vote
Michael B. Johnson

External


Since: May 14, 2004
Posts: 16



(Msg. 2) Posted: Thu Feb 17, 2005 5:40 pm
Post subject: Re: DAO 3.6 record locking [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 17 Feb 2005 21:12:24 GMT, "Allen Anderson"
<allenanderson.RemoveThis@mindspring.com> wrote:

 >I want to lock users' password records after they log on to a VB6
 >application. I want to be able to determine who is logged on to the
 >database by polling each password record to see if it is locked or not.
 >(DBF files allowed this sort of locking and checking to see who was logged
 >on at a given moment.) Can DAO 3.6 do this? It seems the new record-level
 >locking is not under programmer control, except on a global record-level vs
 >page-level basis when edits are happening.

How about adding an additional field to your password record table,
say [LockTimeStamp]... have your application(s) set the timestamp
immediately upon login and again every n minutes.

You may have some false positives if they fail to log out and clear
the field, but otherwise you would have some idea of the number of
connections. And you could write a process that would reset/clear
entries that are older than (n * 2) minutes.
_______________________
Michael B. Johnson<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: DAO 3.6 record locking 
Back to top
Login to vote
Display posts from previous:   
   Database Help (Home) -> Visual Basic All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]