Tonivi Posted September 15, 2017 Share Posted September 15, 2017 Hi I have an application running on a server with access to 6 users simultaneously and the maindatamodule chainge the position of the records among users, i.e. if one user goes to another registry the others are in that registry. Is there any way to define different instances so that this does not happen? It's a big problem and I don't know if I do any thing wrong. Thanks Quote Link to comment Share on other sites More sharing options...
Tonivi Posted September 15, 2017 Author Share Posted September 15, 2017 I've notice that the previous post is wrong. private { Private declarations } vFieldPrivate : string; <----- ok public { Public declarations } vFieldPublic : string; <----- ok end; function MainForm: TMainForm; var vFieldVar : string; <----------- This var is unique for all the users who are connected and the user who change this the other users receive the change Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.