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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to refer to form block items in a trigger

Status
Not open for further replies.

bookouri

IS-IT--Management
Feb 23, 2000
1,464
US
Is there any way on a Form to refer to items of a block?
For example, I have a block :myemployees and items called name, address. In one trigger I want to store the name of the item I want to focus on. for example :tempblock.temp1 := 'name'
then I want to refer to that with something like
:myemployees||'.'||:tempblock.temp1 so that I end up with,
:myemployees.name. I cant seem to come up with any way to accomplish this. I can create a literal ':myemployees.name' but then I cant use that in my trigger. I would need to convert the literal to :myemployees.name somehow, and I cant seem to do that. I apologize that I cant explain it any better, but I would appreciate any help.

 
Look at COPY and NAME_IN built-ins

Regards, Dima
 
Thanks, Im not having much luck finding references to name_in and copy. Developer has a very small example in its help files, and that's about all I can find. It looks like what I need, I just need to find a good reference with some examples...

thanks
 
You may find EXHAUSTIVE examples as well as complete descriptions of that built-ins in online help.

Regards, Dima
 
I dont know about EXHAUSTIVE..<G> I found only two small example in online help, but I finally figured out how to use copy to do what i really needed.

thanks again for your help
 
Do you need 100 pages of pure algebra to prove that 2*2=4 or just use this fact? The matter was so simple (and you proved it!), that I found 2 small examples to be EXHAUSTIVE.

Regards, Dima
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top