Welcome to Clarion Community Sign in | Join | Faq

Clarion 6 - General

Started by sk2107 at 09-26-2008 2:35 AM. Topic has 1 replies.

Print Search
Sort Posts:    
   09-26-2008, 2:35 AM
sk2107 is not online. Last active: 10/20/2008 10:12:11 PM sk2107

Top 25 Posts
Joined on 11-11-2006
Posts 20
Code For Autoincrement field
Reply Quote
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 is not online. Last active: 10/20/2008 10:12:11 PM sk2107

Top 25 Posts
Joined on 11-11-2006
Posts 20
Re: Code For Autoincrement field
Reply Quote
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 
Clarion Communi... » Clarion » Clarion 6 - Gen... » Code For Autoincrement field

Powered by Community Server, by Telligent Systems