Hi Graham,

For a complete list of properties, use the propertyNames function or look in 
the dictionary. There is no simple way to get a list of all (possible) 
properties of a particular object.

The content would be a custom property. If you look in the inspector of your 
object, you will see that a custom property with this name has been created.

To erase the contents of field x, use

put empty into fld x

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Become our partner in sales http://qery.us/1bq Start selling Color Converter 
today. 20% commission!

On 15 dec 2011, at 14:31, Graham Pearson wrote:

> In upgrading a previous project in 4.5 to 5.0, I am having a problem
> with a line of code that would clear the contents of an email address
> when no records were retrieved from the SQLite DB. I have changed the
> line to read
> 
> 
> set the content of field "Email Address Field" to ""
> 
> 
> The field "Email Address Field" has an ID of 1017 and I have put the
> above code on the preOpenCard and on the openCard which does not have
> any effect.
> 
> Is their a list of the [properties] that can be referenced on a field so
> that I can refer to the list in the future.
> 


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to