Jump to content

Spaces in Script - WHY?


Ricardo

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

Recommended Posts

I have a script which performs a find:

Enter find mode (all check boxes de-selected)

Set Field ORDER NO TEMP - ORDER NO & "/1"(result is text)

Perform Find (all check boxes de-selected)

Set to find all order numbers with a /1 at the end.

It seems to work fine when i test it but for some reason when i go back in to the script e.g 2 hours later - FM has put spaces betwwen the text. e.g. " / 1 "

Can someone please tell me why this is happening.

I have just changed the step from Set field to Insert Calc Result to see if this helps!!

Thanks,

ricardo.

Link to comment
Share on other sites

Do you mean that FMP has found records with spaces in the search string? This may be because FMP considers the slash and digit separate words.

Try performing the search wth quotes around the string... "/1"

Link to comment
Share on other sites

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