` Duplicate() (Scott Ferret ) - 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: Duplicate()
1999-01-28 -- Scott Ferret
 
The DUPLICATE() statement has two states. If you do a GET(file,0) before calling DUPLICATE() it tests if the current record buffer would fail on an ADD() call. If no GET(file,0) is issued it tests if a PUT() would fail. The only one of these options that work with SQL systems is the ADD test. It also works when doing the PUT test for the primary key. The PUT test fails if you have a primary key and another unique key and you are changing the component of the unique (but non-primary) key.


Today is April 28, 2024, 10:27 am
This article has been viewed 35109 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: