Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reports and Forms
Message
From
02/12/1999 15:10:21
 
 
To
02/12/1999 15:08:46
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00298085
Message ID:
00298117
Views:
17
OIC....I thought you meant the FOR condition in the REPORT command. OK. Well, you could define cCompVal as PUBLIC and then you can use it all you like in the report snippets and properties.

>How would you reference a form from a report's "print when" . . . something like:
>data1.siz = documents.forms.ship1.pageframe1.page2.sz1.displayvalue
>
>with data1.siz being the compared field and displayvalue the comparison value?
>is something like this possible?
>
>
>>In the click of the CommandButton next to the Combo:
>>
>>cCompVal = ALLT(This.Parent.DisplayValue)
>>REPORT FORM myreport TO PRINT FOR mytable.field = cCompVal
>>
>>
>>>I want the user to make a choice in the combo, press a button next to it, and in the click event, have code that runs the report. the report then will print only the records that have a field that match the combo selection. (the field will of course be specified in the print when)
>>>
>>>
>>>>Jimmy, can you be more specific? Do you want the report to automatically print? Or print a range of records based on the combobox selection? Or only allow the user to select a Print command when the combobox has a certain selection?
>>>>
>>>>>I want to tell a report to "print when" a condition is true in a combobox on a form. How is this done?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform