Record already locked by this session 
Author Message
 Record already locked by this session

I get the following message in my application:

"An error has occured when trying to get the property named 'Value' of
the object named 'Vehicle_Driver_#' of type 'Field'."

then the next detail of the error is:

"Warning: Record already locked in this session."

How do I get rid of this annoyance?  And why is a warning crashing my
program?

Please E-Mail

Vaggs




Sat, 16 Oct 1999 03:00:00 GMT
 Record already locked by this session

Quote:
> How do I get rid of this annoyance?

It is not an annoyance. It is an indication that your code needs
improvement. Comment out code until you find out what caused it then
rewrite the code.

Daniel A. Morgan



Sat, 16 Oct 1999 03:00:00 GMT
 Record already locked by this session



Quote:

>I get the following message in my application:

>"An error has occured when trying to get the property named 'Value' of
>the object named 'Vehicle_Driver_#' of type 'Field'."

>then the next detail of the error is:

>"Warning: Record already locked in this session."

>How do I get rid of this annoyance?  And why is a warning crashing my
>program?

>Please E-Mail

>Vaggs



A common cause of this problem is attempting to tc.edit() an object that
is displaying a locked record. If the record is locked, the following
will cause the error.

  tc.attach(objectname)
  tc.edit()

--Dave



Sun, 17 Oct 1999 03:00:00 GMT
 Record already locked by this session

Quote:

> > How do I get rid of this annoyance?

> It is not an annoyance. It is an indication that your code needs
> improvement. Comment out code until you find out what caused it then
> rewrite the code.

> Daniel A. Morgan

This actually can be a problem with pdoxwin.  If you are using version 7
and have not installed the latest (#4) patch, you should do so.  In
certain circumstances noted in the readme file that comes with the
patch, this problem is clearly noted as a bug in paradox.

David Ehle
Purdue University



Sun, 17 Oct 1999 03:00:00 GMT
 Record already locked by this session

Quote:

> This actually can be a problem with pdoxwin.  If you are using version 7
> and have not installed the latest (#4) patch, you should do so.  In

What is the file date of the version #4 patch that I keep seeing
mentioned.  I have installed the patch dated 18/6/96 (or 6/18/96 for
those in the USA :-)

Vaggs



Mon, 18 Oct 1999 03:00:00 GMT
 Record already locked by this session

Quote:

> This actually can be a problem with pdoxwin.  If you are using version
>7 and have not installed the latest (#4) patch, you should do so.  In
> certain circumstances noted in the readme file that comes with the
> patch, this problem is clearly noted as a bug in paradox.

> David Ehle
> Purdue University

---------------

How can you tell if you have the latest patch installed?  

.
.
.
.



Tue, 19 Oct 1999 03:00:00 GMT
 Record already locked by this session

Peter,

I have come across this several times and I haven't found it to be a
bug, but a "feature."  It occurs when you try to edit a record already
locked by another object on the form.

If you are trying to edit a field (say with a TCursor) that is in edit
mode and locked (by the form or other object), you'll get this error.
Try taking the form out of edit mode, then put the tcursor on it.  If
you're getting this error as a result of an attempt to read the field,
us DMGet instead--it always works.

I have a ton of literature on this with references if anyone cares to
know more.

Scott

Quote:

> I get the following message in my application:

> "An error has occured when trying to get the property named 'Value' of
> the object named 'Vehicle_Driver_#' of type 'Field'."

> then the next detail of the error is:

> "Warning: Record already locked in this session."

> How do I get rid of this annoyance?  And why is a warning crashing my
> program?

> Please E-Mail

> Vaggs



--

http://students.cs.byu.edu/~wiersdor
"For every complex problem, there is
a solution that is simple, neat, and
wrong." -- H. L. Mencken


Fri, 29 Oct 1999 03:00:00 GMT
 
 [ 7 post ] 

 Relevant Pages 

1. Record already locked by this session

2. Error record already locked by this session

3. Record already locked by session

4. Record Already locked by this session !!!!

5. "Record already locked this session"

6. "Record already locked by this session"

7. record already locked by this session

8. Record already locked by this session???

9. Record already locked by this session

10. Warning: Record already locked by this session

11. Warning: Record already locked in this session

12. Record Already Locked in this Session


 
Powered by phpBB® Forum Software