Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macro Derived Field vs Selecting/Sorting

Status
Not open for further replies.

vlfox

Technical User
Oct 13, 2005
40
US
Hi, all;

I created a basic Macro Derived Field that works fine and gives the correct result in its own column – Good.

But: that Macro Derived Field doesn't show up as a regular Selection or as a Database Grouping Selection, nor is it an option to Sort by.

While it's nice to see the column, it'd be nicer if I could filter down by it. Is there a workaround?

I’m on ADP Enterprise, Reportsmith 4.0 – SQL and here’s my basic Macro :

Sub count()
x=(SumField$("AL_EMPL_STATUS","PS_JOB",1,"Count"))
DerivedField(x)
End Sub

ThanX !
 
vlfox,

The biggest down falls to using Report Basic Macro Derived Fields is that you cannot Group By nor Sort with these fields. You also cannot apply any Aggregrate Functions (sum, min, max, avg, std dev, etc) to these derived fields.

So sorry.

RSGeek
rsgeek AT wi DOT rr DOT com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top