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

Re: Accessing forms from different users..

$
0
0
Re: Accessing forms from different users..
FoxInCloud
Re: Accessing forms from different users..
Feb. 22, 2013
02:28 am
3Q005AE7DShow this entire thread in new window
Gratar Image based on email address
From:LLS
To:Keith
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,; && Identifiant utilisateur && /!\ type variable tlTemp && [.F.] Identité d'emprunt_Screen.AddProperty('myUserId', m.twUser)DoDefault(m.twUser, m.tlTemp) && {fr} Toujours conserver cette instruction ! - {en} Always keep this instruction!* ------------------PROTECTEDFUNCTION wUserGetLPARAMETERS tlTemp && [.F.] Retourner l'identité d'emprunt 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




Viewing all articles
Browse latest Browse all 10393

Trending Articles