Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I have answered some questions and have gotten answers for my questions. Anywhere you can do this on one page helps tremendously..."

Geography

Where in the world do Tek-Tips members come from?
johnboy1289 (Programmer)
10 Sep 07 6:21
I am writing a program to find changes between old and new "backups"  of a membership database. In particular I want to extract e-mail addresses that have been removed and those that have been added.

Problem is that the find function does not seem to work properly on e-mail addresses, and the "@" character is the villain of the piece. Just try a manual find on a field you know exists but contains "@" - it cannot be found!

Am I being totally stupid, or is it a problem with a simple solution?

Thanks for advice
Helpful Member!  tcoyle777 (Programmer)
10 Sep 07 13:24
when I do a find in a email field and type "@" it pulls all the records with a email address.
johnboy1289 (Programmer)
10 Sep 07 15:29
I have a field called "email" and there are many records where this field is populated with a valid email address. I manually copy an address from any record, hit "find",  paste the address into the "find" email field and then enter. "No records match this set of find requests' is always the answer.

If I then keep repeating the find after deleting the last character, then next-last etc. the find starts to work when I have deleted the @

But I spent a long time examining my script for errors before I worked out this simple test!

PS I am using FileMaker Pro 8 Advanced
tcoyle777 (Programmer)
11 Sep 07 9:01
The Problem is that the @ symbol means one character in a find in FM. If you enter find mode and click on the symbols tab in the left you will notice the types of symbols and what there meaning is. You need to use quotes before and after the @ symbol to make it a literal search on the @ character. Then it should pull all your records with @ in the email field. Is this what you are wanting to do, or am I misunderstanding?

johnboy1289 (Programmer)
11 Sep 07 15:09
Tcoyle, you understood perfectly!

I was performing a loop to copy each email address from "old records" to a variable, then pasting the variable into the search field of  "new records" and performing the search to see if the email address was still valid. Of course, I now see why that failed.

Solution was to amend the Set Variable line to incorporate a Substitute function when copying the old email address, thereby changing the single-character @ to the three-characters "@" during the copying process.

Many thanks!

PS I wanted to copy a few of the actual script lines into the above message for the possible benefit of others who may not have fully understood - but I have never yet managed to copy scripts FROM FileMaker TO a text edit program. Any suggestions about that one?

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close