Re: Accessing forms from different users..
Hi Keith,for each use of a form, F.I.C restore the user in the INIT() of the form.
this is the reason why i put my UserId in a _screen property with the two fonctions of awserver.prg
PROTECTEDPROCEDURE wUserSetLPARAMETERS ;
twUser,;
tlTemp _Screen.AddProperty('myUserId', m.twUser)DoDefault(m.twUser, m.tlTemp) PROTECTEDFUNCTION wUserGetLPARAMETERS tlTemp RETURN_SCREEN._myUserId
Regards
GLS
Hi Michele.
In that case I have no idea as I also have no idea how FIC handles
different instances of the same form. I have not yet got to
the stage where I can test FIC as a web app to see if I get similar
results, but it would seem very unlikely the FIC developers would
not have noticed such a problem.
As suggested by others, are you sure in the form INIT the User ID
is correct? Try adding a WAIT WINDOW TRANSFORM(UserID) or similar
at the point you collect user data to visibly see what is happening.
Keith
No problems in desktop
Hi Michele.
Does the same problem occur when your application is run as a desktop?
I have one form where are shown some objects depending on the active user's appointment. The first time this form is shown there are no particularly problems; when i open the same form on another device for another user, the first time the form is shown i see the same objects of the last user......How can i set my form to start every time with active user's objects ?
Thanks