March 28, 200718 yr 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.
March 28, 200718 yr Loop If [ not IsEmpty (Emailfield) ] do stuff EndIf Go to Record [Next; Exit After last] End Loop
March 29, 200718 yr Author 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?
March 29, 200718 yr 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 [] ...
March 29, 200718 yr Author This may work as well, thanks. I am trying to create some mailing labels on a layout for all records without an email address.
March 29, 200718 yr Yeah, go with a Find. This is a basic function of FileMaker that's useful for any type of reporting.
Create an account or sign in to comment