Skip to main content
Question

Clear out all Data in a Field - without deleting the field itself

  • February 25, 2021
  • 0 replies
  • 96 views

GeoffBarrenger
Forum|alt.badge.img+5

Hello,

I feel as though I'm overlooking something very simple here.

Is there any way to clear out all data in a specific field, without deleting the field itself?  Or even better - clear out all data in a specific field - if certain parameters are met?

Example:
I'm keeping track of the status of images in another system ( available / unavailable, etc ).  If an image is unpublished, it is generally moved out of the library, and that status in QB should be null.  Unfortunately, the library can only report on what's in it - not what's NOT in it.  So how do we wipe out all of the other data? 

I do not want to do this every week - most of the time, just loading new published dates is OK, but once a month or so - I'd like to wipe the "Publish Status" and start from scratch.  A full report every week is too time consuming and the difference is more efficient.

Any ideas?



------------------------------
Geoff Barrenger
------------------------------

  • Registered
  • February 25, 2021
I find that the easiest way to handle this sort of thing is to just export the table as a CSV (including the Record ID) and then add a blank column in Excel and re-import it.

------------------------------
Andrew Nelson
------------------------------

Forum|alt.badge.img+14
Can you make a formula field with the parameters?

If([My Field] = true, [My Field], "")

This creates a mirrored field that is either blank or filled in depending on your parameters. Then every day or week or month run a table to table import overwriting that My field with the mirrored field.

------------------------------
Mike Tamoush
------------------------------