csrjw Posted March 28, 2007 Posted March 28, 2007 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.
mr_vodka Posted March 28, 2007 Posted March 28, 2007 Loop If [ not IsEmpty (Emailfield) ] do stuff EndIf Go to Record [Next; Exit After last] End Loop
csrjw Posted March 29, 2007 Author Posted March 29, 2007 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?
Ender Posted March 29, 2007 Posted March 29, 2007 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 [] ...
csrjw Posted March 29, 2007 Author Posted March 29, 2007 This may work as well, thanks. I am trying to create some mailing labels on a layout for all records without an email address.
Ender Posted March 29, 2007 Posted March 29, 2007 Yeah, go with a Find. This is a basic function of FileMaker that's useful for any type of reporting.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now