Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Usersession and procedure question
#2
Hi Soren, i do this in UserSessionUnit:
Code:
  private
    { Private declarations }
    xEmpJNP_Id: Integer;
    xEmpJNP_Nome: String;
  public
    { Public declarations }
    property gEmpJNP_Id: Integer  read xEmpJNP_Id   write xEmpJNP_Id;
    property gEmpJNP_Nome: String read xEmpJNP_Nome write xEmpJNP_Nome;

and all your forms:
Code:
{$R *.dfm}

uses ServerController;

begin
  UserSession.gEmpJNP_Id   := 123456;
  UserSession.gEmpJNP_Nome := 'Soren';
end;
Reply


Messages In This Thread
RE: Usersession and procedure question - by Jose Nilton Pace - 01-29-2020, 12:07 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)