>Bret,
>
>Does it error out if there is a link with no DBC? Or does it prompt the user if they want to free the table?
>
>If it is an error, you could trap for that specific error number and then FREE the table.
>
>Or, you could open the table first with FOPEN(). The header terminator is the 0x0D character, and if the first byte after that point is 0x00 there is no backlink. If there is a backlink, you can FREE it after you do your FCLOSE(). See Table File Structure in VFP help.
>
>< UPDATE>
>I have a feeling you knew you could go this route, but that you are looking for something better *grin*
>
>>I have a Web applications that requests a data table to be uploaded. My problem is that some users choose a table that is part of a DBC. Since I don't have the DBC, the program will error when trying to use the table. Is there a programmatic way to check for a table's link to a DBC and then remove the link to the DBC before I open the table up?
>>
>>TIA
Thanks for the help here. The sounds like something others know, but do not do on a normal basis.
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope