Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing parameters to reports?
Message
From
04/07/2006 08:32:31
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
04/07/2006 07:38:16
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01133560
Message ID:
01133568
Views:
15
>Can it be done?
>
>If so, where and how?
>
>
>BR & TIA
>
>Peter

Peter,
"report form" is a regular command. It means you don't need to 'pass' anything, all variables are readily available to report. ie:

* form a button click
local cTitle
local array aRange[1,2]
cTitle = "My Report Title"
aRange[1,1] = date()-10
aRange[1,2] = date()
*cSomeValue = thisform.txtCustomer.Name && no need - report can access thisform if this code can
report form ... && report can use cTitle,aRange, thisform. etc

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform