Jump to content

This topic is 8222 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Is there a way to maybe click a "Clear Fields" button to clear ALL fields (that have been typed in) on a record? I guess this might be some sort of a script or calculation.

thanks,

Harry

Posted

I'm sure you don't mean ALL fields, because then why wouldn't you just delete the record?

BTW, You have to specify each field you want to clear. You can clear groups of fields by compiling a script that Sets fields to empty.

Ken

Posted

I just had this very question answered by Rigsby. Here are the low downs:

The title of the thread is: Done Gone Bye-Bye, Not

It is currently on pg 2 of Scripts

Script:

------------------------------------------------------------------------

Freeze Window

Go to Next Field

Select All

Set Field Field_Name_Temp

Status( CurrentFieldName) & Status(CurrentRepetitionNumber)

Cut Select entire contents

Loop

Go to Next Field

Exit Loop If Status( CurrentFieldName) & Status(CurrentRepetitionNumber) = Field_Name_Temp

Clear Select entire contents

End Loop

------------------------------------------------------------------------

The trick here is that we not only use the field name to detect the end of the script, but also the repetition number Status( CurrentFieldName) & Status(CurrentRepetitionNumber)

REMEMBER: This script will clear any field (with the exception of calculation fields that are present in your tab order.

mb

This topic is 8222 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.