Problem with field references

Jan Schenkel janschenkel at yahoo.com
Mon Jul 7 10:52:53 EDT 2008


--- Mikey <mikeythek at gmail.com> wrote:
> Jan,
> Sorry, I didn't see your post when you made it. 
> Yes, I can get the THERE IS
> A fieldname (where the first word of fieldname is
> the word field) to work,
> but I cannot then use fieldname with or without
> field on the front to get
> the contents of the field.  Once I have determined
> that the field exists I
> need to get the contents.
> 
> get fieldname doesn't work.
> 
> --
> EB White  - "Be obscure clearly."
> 

You can use the 'do' command:
##
do ("get" && tFieldLongId)
##

Or use the 'text' property:
##
get the text of tFieldLongId
##

Or even the 'value' function:
##
get value(tFieldLongId)
##

Hope this helped,

Jan Schenkel.

Quartam Reports & PDF Library for Revolution
<http://www.quartam.com>

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)


      



More information about the use-livecode mailing list