Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Constants in Object Properties
Message
From
15/10/1998 06:32:17
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Constants in Object Properties
Miscellaneous
Thread ID:
00147064
Message ID:
00147064
Views:
68
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?
Regards,

Mark A Tonks
Senior E-Business Developer
Halifax plc
Next
Reply
Map
View

Click here to load this message in the networking platform