I just noticed a problem which has me rather concerned. We use a second instance of our application for test and development. I recently wrote some code to automatically dump all of the table structure info for both instances and compare them, and found that it reports differences for many (not all) of the referential integrity links. When I looked at the table structure files, it shows dependent tables as being referenced by their absolute path names instead of by aliases.
This is not critical for my immediate purpose, but what if I install multiple instances of the app which use different data sets? Then the instances would be cross-linked into each other's data, and a royal mess will ensue. I don't know why this didn't happen when we created the test instance, because we just copied the real app's data into a new directory en masse.
There doesn't appear to be any way to select the location of the tables by alias when you're editing the table structure. Actually, it seems you can only select tables which are in the same directory as the table you're adding RI to, which is fine with me. Maybe the problem is confined to the enumRefIntStruct method, i.e. maybe it's tacking on the absolute path. Can anyone shed any light on what's happening here?
- John
This is not critical for my immediate purpose, but what if I install multiple instances of the app which use different data sets? Then the instances would be cross-linked into each other's data, and a royal mess will ensue. I don't know why this didn't happen when we created the test instance, because we just copied the real app's data into a new directory en masse.
There doesn't appear to be any way to select the location of the tables by alias when you're editing the table structure. Actually, it seems you can only select tables which are in the same directory as the table you're adding RI to, which is fine with me. Maybe the problem is confined to the enumRefIntStruct method, i.e. maybe it's tacking on the absolute path. Can anyone shed any light on what's happening here?
- John