This function takes the fielddef referred to by index and a pointer to a data buffer typically pointed to by a card window. Converts the result into a valid FISL string; appends to an existing FISL string by "&" if there is already a string there. This function is used by the database application to convert a Card Subset Definition into a "SSL" (FISL) string for subsetting. The data buffer pointed to by fielddata can prefixed by *, -, =, <, >, <=, >=, or <> to more specifically control the FISL string generated (see the User's Manual).
Syntax: DB_CardToFISL(DBBLOCK *dblk, int index,
char far *fielddata, char far *fislbuffer,
int fislbuffersize);
DB_OVERFLOW FISL buffer provided was too small to hold the result.
DB_COMPLEX Internal error caused resulting string DB_SYNTAX to not parse correctly.
DB_TYPEMISMATCH