Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • 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!

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

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I am so glad that I found your site, it is an excellent resource and has helped me greatly..."

Geography

Where in the world do Tek-Tips members come from?
cagiv (Programmer)
30 Apr 12 3:01
Hi,

anybody knows, how can i use a binded group?

myGroup GROUP,PRE(myGroup)
  field1 STRING(20)
  ...
  END

In source (INIT) i bind this group with:
BIND('BGRP', myGroup)

and the user wants to use the group in program with:
message(BGRP:myGroup:field1)  or
message(BGRP:myGroup.field1)

but it results an error (unknows binded variable). How can i do it right?

cagiv
ShankarJ (Programmer)
4 May 12 3:02
Hi!

It should be myGroup:field1 or BGRP.field1 and not BGRP:myGroup:field1.

and use EVALUATE() i.e.

message(EVALUATE(BGRP.field1))

Regards
 
cagiv (Programmer)
7 May 12 2:59
Hi,

thank you for your answer, but it doesnt work.
Variable was always unknown.
Now I binded every field in group.
Not nice but its work winky smile

cagiv

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!

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