I believe that event will have the variable you need to use to catch the error. Look in its parameter list to see if there's somekind of E or Error variable. Then you use a Try except around it. Look up examples on using try except and you should find some error code examples.
Dave
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
Hi Thomas,
as usual "it depends".
Which Database do you use? A "normal" SQL Client / Server RDB (as Firebird or Interbase) is able to handle that automatically.
So, which Delphi version and which DB you are talking about.
Have fun
Bob
>
> I am working on a multiuser application. One of my problems is record
> locking, specifically when one user is editing a blob field and another
> is editing the same record.
>
> I am guessing that I need to put some code in the Edit error event but
> there is no example in the Delphi help file so I can only guess how to
> use it correctly.
>
> Can some one give me an example on how to trap a record locking error
> using this event? Also what do you recommend for help in understanding
> the complexities of multiuser databases?
>
> Thanks in advance!
>
> Tom Nesler
> Live long!... Code Well!... and Prosper!... V
>
>
> [Non-text portions of this message have been removed]
>
>
>
> -----------------------------------------------------
> Home page: http://groups.yahoo.com/group/delphi-en/
> To unsubscribe: [EMAIL PROTECTED]
> Yahoo! Groups Links
>
>
>
>
>
>
-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]
---------------------------------
YAHOO! GROUPS LINKS
Visit your group "delphi-en" on the web.
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
---------------------------------
Yahoo! Mail goes everywhere you do. Get it on your phone.
[Non-text portions of this message have been removed]
-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]
SPONSORED LINKS
| C programming language | Computer programming languages | Java programming language |
| The c programming language | C programming language | Concept of programming language |
YAHOO! GROUPS LINKS
- Visit your group "delphi-en" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

