Database Systems Corp.
Home  |   Contact Us  |   About Us  |   Sign Up  |   FAQ

predictive dialers and crm software
computer telephony software predictive dialer

IVR Services
Voice Broadcasting
ACD Systems Automatic Call Distribution
Telecommuting Software
Window On the Web
Voice Recording Software
Predictive Dialer
Business Phone Systems
Auto Dialer Phone System
Community Notification Systems
Emergency Communications

predictive dialers and crm software

Application Development
File Management Software
IVR Software
Call Center Software
Call Center Technology
Software Toolkit
Windows Development
Telecommuting Software
Remote Agent Software
Predictive Dialer
Predictive Dialing Software
Business Phone Systems
B2B Phone System
Auto Dialers
Predictive Dialers
Phone Dialers
Auto Dialer Software
Automatic Dialer Solutions
CRM Software Solutions
Predictive Dialer Software
Autodialer Software

predictive dialers and crm software

DSC Tech Library



Function fprecord_get retreives/locks a record based on an index value specified. Key values must be in the data record that is passed in.

The syntax for fprecord_get is as follows:

fprecord_get(int file_id, int flags, int index, int key_len, char *record, int record_len, int *recno, int *keyloc)

   int file_id       - File unit of open file from previous 
                       fpfile_open function.

   int flags         - Bitmapped flag indicating type of get to perform.
                         0   (FSNFST)   - find first entry
                         1   (FSNEQL)   - find entry equal to
                         2   (FSNPAR)   - find partial
                         3   (FSNGTR)   - find greater than
                         4   (FSNGEQ)   - find greater than or equal to
                         5   (FSNLSS)   - find less than
                         6   (FSNLEQ)   - find less than or equal to
                         7   (FSNLST)   - find last entry
                         8   (FSNCUR)   - return current entry - overides 
                                          other search flags
                     - These flags are added to the flags above.
                        16   (FSNPRV)   - find previous entry
                        32   (FSNNXT)   - find next entry
                        64   (FSNLCK)   - lock record
                       128   (FSNULK)   - unlock record - overides other
                                          search flags

   int index         - Index number to search on.

   int key_len       - Length of key to be searched.

   char *record      - Record buffer with key values.

   int record_len    - Length of record to be returned, 0 = entire record.

   int *recno        - Record address of record returned by the get.

   int *keyloc       - Address of the key returned by the get.

The possible values for fperrno and an explanation of each value follow.

     Value            Explanation
     FEROK  - Code  0: Successful FASTPLUS Operation 
     FERACC - Code  2: Illegal access rights
     FEROPN - Code  5: FAST file does not exist
     FERUNT - Code  6: Illegal FAST file id
     FERLEN - Code  7: Illegal record length
     FERFHE - Code  9: System file error
     FERIND - Code 10: Illegal index number
     FERDUP - Code 11: Duplicate key value
     FEREXT - Code 12: Record not found
     FERVLN - Code 17: Illegal key length