A Report requires a table or cursor to run. You can create a cursor with a single records to print your report.
CREATE CURSOR crsForReport ( Filler C(10))
APPEND Blank
...
your code here
...
USE IN crsForReport
>
>I define Five memory variable under command1 click event as
>
>public d1,c1,c2,n1,n2
>store {} to d1
>store space(20) to c1,c2
>store 0 to n1,n2
>
>d1=thisform.text1.value
>c1=thisform.text2.value
>c2=thisform.text3.value
>n1=thisform.text4.value
>n2=thisform.text5.value
>
>I manually drop all five memory variables into report designer.
>When I run report then nothing happend.
>I tested all variables they have values in them.
>
>Form DataEnvironment has some two other tables and there is no field name confiliction.
>
>How to print report by memory variables?
>
--sb--