General information
Category:
Coding, syntax & commands
>Hi,
>
>When you have to make a local copy of a set ot tables for any user using your application, how do you do it?
>Say I have a set of tables & their index files at a Central location, and I need to copy them to the users folder, when he logs on.
>
>the program uses the Copy file command now and the users sometimes get a 'Structural .cdx file is not found' error. It does not happen always.
>
>Thanks
>
>Ria
When you index on ?? tag ?? it creates a link between the .dbf and .cdx files. When you use the .dbf file it will try to restore the link to the .cdx file. If the .cdx file is not where foxpro expects it to be foxpro gives you the option to break the link. If you copy the .cdx file to the same folder as the .dbf you shouldn't get the error.
Why do you need to copy the files to the users folder? Just asking because it doesn't seem very conventional.
Aloha,
James
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only