>some data files in current directory and some data files in current directory + 1005 directory.
>
>what to do for this.
>warm regards,
>mk.
See my answer at
www.foxite.com. Add code to the form.dataenvironment.beforeopentables changing either cursor.database or cursor.controlsource. Sure you need to do it for each cursor there to make sure you are taken the proper tables.