In order for this site to work correctly, and for us to improve the site, we need to store a small file (called a cookie) on your computer.
By continuing to use this website, you agree to our cookies and privacy policy.
  
Home page Home page Home page Home page
Pixel
Pixel Header R1 C1 Pixel
Pixel Header R2 C1 Pixel
Pixel Header R3 C1 Pixel
Pixel

Defaults

When programming our own defaults or attempting to control window flow more completely than is usual, it can be necessary to gain access to the default for a new record. Generally this is a simple process but in the case of things like %SK% can be a little more complex.

To get this information in the same way as the system, all that is needed is to call the system function DEFAULT passing it the kind of default that is required. Thus in the example given above we could


0001            DECLARE FUNCTION DEFAULT
0002            NEXT.NO = DEFAULT("%SK%")

(Volume 1, Issue 8, Page 10)
Pixel
Pixel Footer R1 C1 Pixel
Pixel
Pixel
Pixel