>I have a constant defined to hold the path to my database (as this can change sometimes).
>
>I also have an object which needs to know the full name and path to the database in order to use it. This value is stored in a property, e.g. "C:\Appdir\Database\Database.DBC"
>
>Can I use the constant name in the property i.e.
>
>DATA_PATH+"\Database.DBC"
>
>?
>
>I have tried this a couple of ways with no success. Am I missing something, or will I have to code around it?
Are you having a problem with forms that have cursors in the dataenironment? In other words setting the path does not work in that case you must modify the dataenvironment property for each cursor. If this is the case for you I can send you the code to do this on the fly when you open the form.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only