Jump to content

Change position of records


Tonivi

Recommended Posts

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

 

Link to comment
Share on other sites

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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...