J
JimmyKoolPantz
IDE: VB2005
FILE TYPE: DBF5
I appoligize if I am posting in the wrong group.
Question: Is there a position in the dbf file structure that will
allow me to delete a field, such as, the way the dbf file structure
has a record deletion flag? I have wrote a class for reading and
writing dbf files but I recently came across the need to delete fields
quickly. I'm currently reading the records into a dataset and then
writing them to a dbf file but, looking for a quicker solution. What
I thought was possible appears not to be, I wanted to copy the dbf
file, rename it, and then update a field deletion flag, and then pack
it.
The utility I am writing allows the users to select the fields they
want to keep, then my utility creates a script of only the fields they
have selected.
Any suggestions would greatly be appreciated.
Thanks!
FILE TYPE: DBF5
I appoligize if I am posting in the wrong group.
Question: Is there a position in the dbf file structure that will
allow me to delete a field, such as, the way the dbf file structure
has a record deletion flag? I have wrote a class for reading and
writing dbf files but I recently came across the need to delete fields
quickly. I'm currently reading the records into a dataset and then
writing them to a dbf file but, looking for a quicker solution. What
I thought was possible appears not to be, I wanted to copy the dbf
file, rename it, and then update a field deletion flag, and then pack
it.
The utility I am writing allows the users to select the fields they
want to keep, then my utility creates a script of only the fields they
have selected.
Any suggestions would greatly be appreciated.
Thanks!