Hi guys, I want to use a frame with temp-table/buffer values. The problem is I can't make understand the program to know that at each point it is the same field that I want. I have to work something like that because I don't know in advance what the table and the field will so I must reference...
Just wondering, if I build me temp-table and buffer, what would be the way to change those statements :
Find First {1} {11} NO-LOCK NO-ERROR.
IF AVAILABLE ({1}) THEN
DO:
recno = recid({1}).
END.
FORM {1}.{2} {1}.{3}
With Frame {5} Row {7} Column {8} Overlay {6} Down
Title "{9}" no-labels...
ok .. I will still try to make the "new" ".p" compile and I will use the shared variable as an output in all the files.
Is something like this will work, it would involve less work on the 1000+ files, just changing one string to an output var :
/* caller.p */
run liste.p "string1" "string2"...
it was used like this :
run liste_trans.q "string1" "string"2" string"3".
where one of those strings represented the name of the Shared Variable that was then declared un the ".q" file like this "Define Shared Var {4} As {10}." and that variable ge the return value from the file.
Basicly this...
Any hints for the Shared Variable (Define Shared Var {4} As {10}.) that the info is passed as strings from and can be anything ?
I am stuggling with the FORM creation too (FORM {1}.{2} {1}.{3}
With Frame {5} Row {7} Column {8} Overlay {6} Down
Title "{9}" no-labels no-attr-space. ) I am trying...
Yeah I can understadn ofr the FIND FIRST or statement like that, but can I do for the declaration of the variable ? I can receive a SHARED variable named ABCD type int, a variable names DEFG type char or even the same name but not the same type as this *.p is called like everywhere.
I am also...
Hi all, I am working on a legacy program that was coded before I was even born !
The code must work on version 9 and above. We have a developper license and want to iliminate it to distribute on several servers. To do that, we first ilimanted the use of *.q files to use only *.p and *.i files...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.