If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Other > Btrieve API delete operation problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-15-02, 18:26
lsmeteor lsmeteor is offline
Registered User
 
Join Date: Mar 2002
Location: Toronto
Posts: 8
Unhappy Btrieve API delete operation problem

Hello all,

I am a newbie at taking a shot at the Btrieve API. I am working with a couple of sample programs showing API calls (BTRCALL) with various operations.

The problem that I am having is that I am not understanding correctly what the sequence of operations should be when one wants to delete or update a record.

I believe that you have to get the position block of the field that you need to refer to but I do not know how.

Can someone steer me in the right direction or post general instructions of what to do in order to perform the delete or update operations?

I know how to insert but always get status code '3' or '8' when trying to delete.

code '3' is file not open, but I just opened it a few lines of code before.

code '8' is an invalid positioning.

Thanks,
Laurent
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On