[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
USAGE
   signed int scdikdel(
           signed char handle,
           void *key,
           signed long recno );

PROTOTYPE IN
   sc_base.h

DESCRIPTION
   scdikdel will remove key from the index file specified by handle.
   recno is used along with key to ensure that the proper key has
   been removed from the index file.

NOTES
   When deleting character keys it is necessary to pad the key string to
   size with  spaces (" "), the function will not automatically do this for
   you. This differs from the corresponding dBASE and Clipper functions.

EXAMPLE
   #include <string.h>
   #include <sc_base.h>

   void main()
   {
     int idx;
     char name[65];

     scdinit(20,0);
     if (scdiopenx(&idx, "TOCNAME.IDX", SC_BUFFER) == SC_SUCCESS) {
       strcpy(name,"ABC.DEF");
       scdikdel(idx,name,3L);
       scdiclose(idx);
     }
     scdterm();
   }

See Also: scdikadd
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson