NAIUA Small Logo

NAIUA: OpenROAD SIG

tablefieldtofile


The procedure tablefieldtofile (3K) writes a TableField to a disk file.

The maximum supported length for a varchar-column is varchar(1000).

Note that the return value for "success" is int(1) and "failed" is int(-1), that's because if the procedure fails fatally (array index out of bounds for example) the return will be 0/ER_OK too. You can change it if you'd like.

Return-Values:

Parameters:

In most case you'll call it like this...
========================================

filename = StringObject;

IF tablefieldToFile ( tab = Field(myTable),
         fname = filename ) != 1 THEN
    message('failed');
    RESUME;
ENDIF;
message('Table successfully saved to ' + filename);


Diego Ramp
Berner Versicherungen
Informatik ILM
Laupenstrasse 27
CH-3001 Bern
Phone: ++41 31 384 58 37
diego.ramp@berner.ch
http://www.berner.ch


- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Home Search About... News Contact Us Members Join
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please send comments or corrections About these pages to web_liaison@naiua.org
The NAIUA Web Site is hosted by planetingres.org