KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Clearing a picture field programmatically
PRODUCT: 4D | VERSION: 16 | PLATFORM: Mac & Win
Published On: November 14, 2017

A way to clear the picture field data is to set the value from an initialized picture variable as shown below:

C_PICTURE($picture)

[Table_1]Field_Picture:=$picture


Here is an example of a field that contains picture data:



After running the code above, the data in the field will be clear as shown below: