I have created a Delphi database program that opens .dbf tables to a DBGrid. It also can create new .dbf tables, which it then displays nicely on the DBGrid. The problem is this: the computer has 2 hard drives, C & D. Even though I installed Delphi to the D drive, it demands I create the directory path
C:\Program Files\Common Files\Borland Shared\Data
and place the .dbf table that I plan on interacting with there, or it raises an exception when I open the existing table and run a query. Also, when I create a new .dbf table, it creates the new table on the C drive in the aforementioned directory. It seems that some pointer or something is making it interact with the aforementioned directory path on the C drive, even though I just want it to stick to the D drive. How can I make it just stick to the D drive? Can I do this through one of my components' properties, or where? Any help would be greatly appreciated, because I’m completely puzzled on this and it’s obviously a problem that affects everything.
Thanks,
cold25
C:\Program Files\Common Files\Borland Shared\Data
and place the .dbf table that I plan on interacting with there, or it raises an exception when I open the existing table and run a query. Also, when I create a new .dbf table, it creates the new table on the C drive in the aforementioned directory. It seems that some pointer or something is making it interact with the aforementioned directory path on the C drive, even though I just want it to stick to the D drive. How can I make it just stick to the D drive? Can I do this through one of my components' properties, or where? Any help would be greatly appreciated, because I’m completely puzzled on this and it’s obviously a problem that affects everything.
Thanks,
cold25