Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select statement not working
Message
From
27/09/2001 18:31:00
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00561704
Message ID:
00561738
Views:
27
>I check all that, and it still didn't work so I deleted the report and recreated the report. Now it works fine. Thank you for all you help. By the way one more question, if I have a field name like tot_pay, can I do an expression in detail line like tot_pay/percentage? percentage is a variable in my form that I need to divde by for tot_pay amount. Thanks again
>
>Nick Patel

Yes Nick,
You can. Whatever variable is accessible by the routine (procedure, function, method, event) that called report, is accessible by report even if it's defined local. ie:

* form.somecommandbutton.click
* thisform.text1 and thisform.somecustomproperty exists
local lnPercentage
lnPercentage=200
report form myReport


myReport can use lnPercentage, thisform.text1.value, thisform.somecustomproperty just as if it were part of routine (and in fact it's).
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