HI
Thank you for the response.
Also, apologies for the newby questions.
I just need to check 100% for clarity.
The Tdbf control has two settings:
FILEPATH
FILEPATHFULL
It automatically fill those two fields if i select the TABLENAME.
It then sets the current path to e.g. c:\Lazprojects\SMStool\Data.
If I leave both of them like that the project works fine, but if i should copy it onto a stick it will still go look for the data in C:\Lazprojects\SMStool\Data and crash if that folder does not exist on the target pc.
Where do i enter:
ExtractFilePath(Application.ExeName);
?
Its but the first week on Pascal. Lots new to learn.
Truly appreciate the help.
-Peter