Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

In my script, I am looking for a method to skip a record if the email field contains data. For example, IF email = NULL then proceed. What is the best way to do this? Thanks.

Posted

Loop

If [ not IsEmpty (Emailfield) ]

do stuff

EndIf

Go to Record [Next; Exit After last]

End Loop

Posted

Understood thank you. Now, can I use this to loop through my records before placing the results on a layout? Or would I use my layout to do the logic?

Posted

Depending on what your script is doing, you might instead find those records that have something in the Email field prior to doing whatever it is you're doing to with the records.

Enter Find Mode []

Set Field [ Email ; "*" ]

Perform Find []

...

Posted

This may work as well, thanks. I am trying to create some mailing labels on a layout for all records without an email address.

Posted

Yeah, go with a Find. This is a basic function of FileMaker that's useful for any type of reporting.

This topic is 6451 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.