×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Macro Derived Field vs Selecting/Sorting

Macro Derived Field vs Selecting/Sorting

Macro Derived Field vs Selecting/Sorting

(OP)
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 !
 

RE: Macro Derived Field vs Selecting/Sorting

nope

http://CharlesCook.com
Specializing in ReportSmith Training and Consulting

RE: Macro Derived Field vs Selecting/Sorting

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close