General information
Category:
Coding, syntax & commands
When you are adding in the file, before that check existense of
your primary field, by using a locate or a seek command.
if not found then add a new code other wise issue a tablerev, if
you have already issued a append blank.
if key field is numeric, you can use this line
sele max(keyfield)+1 from yourdbf into array yourarray
>Hi
>
>I have a dbc with 5 tables
>they are indexed candidate.
>
>In my form.grid if I try to enter a equal number
>and it exsist I get an error that is ok, but how
>do I trapp this error, and run a tablerevert.
>Im using 5 optimistic buffering in the DE.
>In my exe you get 3 options on this error
>and the only who works is cancel and there
>goes my app.
>
>Best regard
>
>Per Simmersholm
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only