Search code examples
databasedelphibde

Look for tables in a subdirectory


Using BDE and TTable components that run off of alias' how do I navigate from the alias into a sub directory?

For example I have an alias 'GIPM' this alias points to 'C:\Program Files\GIPM' within this directory I have another directory that contains more tables that I want to use but don't want in the directory that GIPM points to.

I have tried putting 'GIPM\SubDir' as the database but that doesn't work, I have also tried '.\SubDir' and this also does not work, do I have to create a second alias or is there a way to do this?


Solution

  • I believe that was incorrect. Paradox, including support by the BDE was able to deal with tables in subdirectories quite easily. Just refer to the table as Subdir\tablename. It already knows from your alias that you are starting in c:\program files\gipm.