Difference between revisions of "TABLESEQNO()"
From Lianjapedia
Yvonne.milne (Talk | contribs) (→Description) |
Yvonne.milne (Talk | contribs) (→Example) |
||
Line 25: | Line 25: | ||
[[Category:Lianja VFP Extensions]] | [[Category:Lianja VFP Extensions]] | ||
[[Category:VFP Function Extensions]] | [[Category:VFP Function Extensions]] | ||
− | [[Category:Lianja | + | [[Category:Lianja v8.0]] |
Latest revision as of 10:01, 7 July 2022
Contents
Purpose
Function to apply a default SEQNO() in client/server Web Apps
Syntax
TABLESEQNO(cDatabase, cTable)
See Also
CURRSEQNO(), RECNO(), REPLACE(), SEQNO(), SET SEQNO, UNIQUEROWID(), ZAP
Description
The TABLESEQNO() function returns the next unique sequence number (SEQNO()) for the specified table in the specified database.
It can be used to apply a default SEQNO() in client/server Web Apps. If SEQNO() is used in a default value for a column then when the App is generated as a Web or Mobile App SEQNO() will automatically be translated to use tableSeqno().
Example
? tableSeqno('southwind','employees') open database southwind use employees ? seqno()