Post Reply 
Stats 1 Var in Stats 2 Var
08-19-2017, 04:02 PM
Post: #2
RE: Stats 1 Var in Stats 2 Var
In the program menu (shift-1), copy this into the Statistics 1Var (App) program:

PHP Code:
EXPORT START()
BEGIN
 D0
:=Statistics_2Var.C0;
 
D1:=Statistics_2Var.C1;
 
D2:=Statistics_2Var.C2;
 
D3:=Statistics_2Var.C3;
 
D4:=Statistics_2Var.C4;
 
D5:=Statistics_2Var.C5;
 
D6:=Statistics_2Var.C6;
 
D7:=Statistics_2Var.C7;
 
D8:=Statistics_2Var.C8;
 
D9:=Statistics_2Var.C9;
END

Then open the Statistics 2Var app and copy this into the Statistics 2Var (App) program:

PHP Code:
EXPORT START()
BEGIN
 C0
:=Statistics_1Var.D0;
 
C1:=Statistics_1Var.D1;
 
C2:=Statistics_1Var.D2;
 
C3:=Statistics_1Var.D3;
 
C4:=Statistics_1Var.D4;
 
C5:=Statistics_1Var.D5;
 
C6:=Statistics_1Var.D6;
 
C7:=Statistics_1Var.D7;
 
C8:=Statistics_1Var.D8;
 
C9:=Statistics_1Var.D9;
END

Now any changes in one data set will automatically be copies over to the other data set. It will appear to a casual observer to always have the same data in both apps.

-road
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Stats 1 Var in Stats 2 Var - CloudHP - 08-19-2017, 05:42 AM
RE: Stats 1 Var in Stats 2 Var - roadrunner - 08-19-2017 04:02 PM



User(s) browsing this thread: 4 Guest(s)