Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I am trying to put 2 different input field in my report but when I refresh I get "Script line error"! Anybody can help please?
Thank you in advance
please post your script
Here you are, thx:
Inputfield test1;
Test1:
Load RecNo() as InputKey,
'Fill In Capital "Y" or "N"' as Test1
autogenerate 10;
Inputfield test2;
test2:
Load RecNo() as InputKey,
'To do' as test2
autogenerate 12;
Instead, i think you can create two input box, and hide one caption and put them into a container, this is my dummy method.
Sorry I found the error.
I was using peek() function; for the first table it works but the second not. I replaced the peek function by a variable. and all seems to work fine:
let vNr = peek('NrOfLines');
Inputfield test1;
Test1:
Load RecNo() as InputKey,
'Fill In Capital "Y" or "N"' as Test1
autogenerate $(vNr); //peek(NrOfLines);
Inputfield test2;
test2:
Load RecNo() as InputKey,
'To do' as test2
autogenerate $(vNr); //peek(NrOfLines);
thank you for your contribution