Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report by memory variable
Message
 
 
To
15/12/2006 21:28:24
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01178243
Message ID:
01178246
Views:
19
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform