How to set an empty value with setField?

If you need help on how to use the program
Post Reply
Nik0
Posts: 15
Joined: 2003-03-15 11:20:01

How to set an empty value with setField?

Post by Nik0 »

Hi,
i tried to clean my comments fields with the command

SetField(fieldComments, '');

but the new value was not stored in the database.

SetField(fieldComments, 'aaa'); would work, but this is not what i want to have.

What's the clue? :D
antp
Site Admin
Posts: 9639
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Hi,
There is an option "allow to clear fields" (it was added by request of users because in most of the case there is no reason for the script to clear a field)
Nik0
Posts: 15
Joined: 2003-03-15 11:20:01

Post by Nik0 »

Ah, thanks! Perfect solution as usual. :)
Post Reply