home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Interactive Guide
/
c-cplusplus-interactive-guide.iso
/
c_ref
/
csource1
/
chint
/
useful02.hnt
< prev
next >
Wrap
Text File
|
1992-06-09
|
1KB
|
36 lines
/* This useful hint accesses the alternate functionality of List_N_Choose.
The alternate method will mean that the list of records will be
limited to the set of records that match the input/match key
string, (if one is entered).
When in the listing function the sub-string search can still be
used as usual, (simply type in characters), and this way this new
"bounded find" can still be used to access all records. The
simplest way to see this is to press the back-space key once the
list of records is displayed, the listing returns to the
beginning and all records can be seen.
*/
Step (1)
Copy DBC.SKL to DBCL.SKL so that modifications do not effect the original
skeleton file.
Step (2)
Insert the code "oldFindMethod = False;" into the begining of the main
program block of DBPL.SKL...
...
void main(void)
{
oldFindMethod = False; /* This is the new line */
extfhc_init();
db_curs_init();
db_date_init();
db_funcs_init();
db_heap_init();
...
Step (3)
When generating program specify DBCL.SKL on the generate option screen.