Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleting a Record from Text Data

Status
Not open for further replies.

RADM

Programmer
Dec 27, 2003
36
IT
Hi,

Anybody can tell me how to delete a record which is stored as text file in Random File Access Method.

Rgs,

Radm
 
You cannot delete a record form a random access file. you can blank it of course (so it's still a record but filled with blanks).

The options you have are limited which is why you should look at using and ODBC text driver instead. With a random access file you will have to write all of your records out to another file, skipping the blank ones in order to truly "delete" the records.

 
Hi,

Thanks Lewis. Just to know the last resort.

Rgs,

Radm
 
We just had a huge discussion about this in thread222-1109585.

HTH

Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top