Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parameter not based on a tabel 1

Status
Not open for further replies.

29091967

Technical User
Feb 5, 2008
19
0
0
DK
can someone tell me if it is possible to create a parameter
which is not based on a table . I just want to add a range of numbers on my report via parameter.
 
i am getting the error "string is reuired here" see !!! marks

StringVar result;
NumberVar i := 1;

For i := 1 to ubound({?T-DOC}) do

result := result + !!!! {?T-DOC} + chr(13);

result;
 
Code:
StringVar result;
NumberVar i := 1;

For i := 1 to ubound({?T-DOC}) do

    result := result + {?T-DOC}[i] + chr(13);

result;
I forgot to subscript the array {?T-DOC}
And set the parameter to be a string...
 
If this is a multiple value string parameter, not a range parameter, then you can use:

join({?T-DOC},chr(13))

Format the formula to "can grow".

-LB
 
yippie!! this is what i was looking for .
thanks for your exepertise
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top