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.

Jobs

Is there a way to get DW retrieval arg values?

Is there a way to get DW retrieval arg values?

(OP)
I have a screen that passess a datawindow to another screen.
The dw has 2 retrieval arguments (min and max).
On the 2nd screen I would like to reference the value of these retrieval arguments.
text_ctrl.text = 'All records with value between [arg_min] and [arg_max]'

Is there a way to get at the argument parameters of a DW to read their values?

I appreciate any suggestions, etc.

P.S. I apologize if this is a stupid question. It has been a while since I have worked with PB.
Thanks

RE: Is there a way to get DW retrieval arg values?

There may be a simpler way, but I'm not coming up with it off the top of my head...

Can you add a computed field to the detail with the value of arg_min/arg_max and then GetItemNumber( ll_row, 'computed_field_name' ) them?

RE: Is there a way to get DW retrieval arg values?

(OP)
Yeah, that is what I ended up doing - including the args as computed values. Seems a bit redundant since the values are already in the DW but apparently not readily available.

thanks

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!

Resources

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