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
oApplication.wcPropSave = "customerId,userId,wdfPath"
oApplication.wdfPath = wdfPath