Hi there,
Just wondering if I can cast a datastore string value to a boolean like below;
BOOLEAN(a_local_datastore.object.field_name[1])
It doesn't seem to want to let me do it. I am passing this value to a BOOLEAN type in a struct and know that the datastore will return NO or YES.
Any ideas on how I can acheive this if not by casting?
Many thanks
Niall
Just wondering if I can cast a datastore string value to a boolean like below;
BOOLEAN(a_local_datastore.object.field_name[1])
It doesn't seem to want to let me do it. I am passing this value to a BOOLEAN type in a struct and know that the datastore will return NO or YES.
Any ideas on how I can acheive this if not by casting?
Many thanks
Niall