Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-03

Sdf Data Set

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Kjow

Hi All,

I have a SdfDataSet component in my project. It works well, but I can't load a file at designtime without an absolute path. I need to specify (on "FileName" property) the full path e.g.: c:\mypath\build\file.txt and change it at runtime e.g. SdfDataSet1.FileName:= Application.Location+'file.txt';

How can I use relative path at designtime? (I build the project in a sub-dir of lpi file)

It is nasty, because I'm developing it on two pc with different paths.

Thanks,
Kjow

Reply by email