Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

wcPropSave in custom classes

$
0
0
wcPropSave in custom classes
FoxInCloud
wcPropSave in custom classes
Jun. 14, 2013
12:57 am
3T4021MOGShow this entire thread in new window
Gratar Image based on email address
From:Michele
To:thn@foxincloud.com
In my app i need to let access to different users and every user can access data in different path. So i need to set the path where to "use" my tables every time the user has enetered its credentials.....Normally i have a custom object, called oApplication where i store these info; in it i have a property called wdfPath where i set the path and every time i open a table a use this path...With Foxincloud i can't do that...because my oApplication is common to every user and the last set the path for all the users are already entered.....I have tried to set wcPropSave of my oApplication object to "wdfPath", but this has always the last value not one for each user....like when i work in forms.....
What i need is possible or not ? Which is the solution to a situation like mine ?

Thanks

The code where i instantiated my object is:

Public oApplication oApplication = CreateObject("erp_application") Local wdfPath*!* Here are operations to get the user's path *!* and i set it into local wdfPath oApplication.wcPropSave = "customerId,userId,wdfPath" oApplication.wdfPath = wdfPath


Viewing all articles
Browse latest Browse all 10393

Trending Articles