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

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

Recommended Posts

Posted

Greetings,

I am using FMP10adv on Windows Server 2003.

I have a field containing one or more of the following characters: SMFOICVPHX (but only one of each), so a particular field could contain S or SM or MS or FM or FMSO or any combination.

I am writing a script fed by checkboxes on a layout to search for all fields containing a character selected by the user.

If I manually go into Find Mode and enter *M* it will find all the correct records.

... but trying to script it as follows (after entering find mode):

Set Field[Table::Field;"*" & LeftValues($values;1)& "*"]

(where the LeftValues($values;1) pulls the M out of the checkboxes)

This does not get the right answer.

Can anyone clue me in?

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