|
|
Clarion 6 - General
Started by sk2107 at 09-26-2008 2:35 AM. Topic has 1 replies.
 
 
|
|
Sort Posts:
|
|
|
|
09-26-2008, 2:35 AM
|
sk2107
Joined on 11-11-2006
Posts 20
|
Code For Autoincrement field
|
|
|
|
|
Hello everybody,
I have a code for adding data manually to a table which has an auto increment field without a form.
I need a code to update the autoincrement field .. with lots of thanks
|
|
|
|
|
Report
|
|
|
|
09-26-2008, 4:03 AM
|
sk2107
Joined on 11-11-2006
Posts 20
|
Re: Code For Autoincrement field
|
|
|
|
|
Hello guys
I tried to use this code and it is working fine
!---- this is instead of ADD function -------
! --- Traces is the table name -------------
Access:Traces.PrimeAutoInc() ! prime the autonumber key field
Access:Traces.Insert() ! insert new record
GlobalRequest = ChangeRecord
watch(Traces)
Relate:Traces.Close()
!---------------------------
|
|
|
|
|
Report
|
|
|
|
|
|