Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variable to count distinct number?
Message
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01529049
Message ID:
01529062
Views:
101
This message has been marked as the solution to the initial question of the thread.
>Hi,
>
>I need to create a variable in a report that will count the number of distinct values. For example, if the report has a column EMPLOYEE_ID the variable should count how many employees are in the report. How? I tried to enter in the value to store "DISTINCT( EMPLOYEE_ID )" but it gives me error. TIA for any help.

This is not simple using report variables. I suggest to add this field as pre-calculated in the Report.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform