` Autonumbering compound keys TPS (Jim Katz ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Autonumbering compound keys TPS
1998-08-21 -- Jim Katz
 
You must prime the high order key element before the call to the FileManager's PrimeRecord method. In the embed for the browse, if you are calling the form from a browse, for the browse Manager's PrimeRecord method, priority less than 5000: TRA:TranType = I If you are doing it manually then: Clear(TRA:Record) TRA:TranType = I Access:TranType.PrimeRecord(1) !! the parameter of 1 means that the PrimeRecord method will not clear the buffer before creating the new record.


Today is November 21, 2024, 3:31 am
This article has been viewed 35187 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: