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

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

Recommended Posts

  • Newbies
Posted

I Have posted the beginnings of my problems in the Define Fields Section (Photo Catalog Template Mutilation), But I think I posted in the wrong section.

In the Photo Catalog DB, I have changed the Keywords Field from a check box to a pop up list, using value list *Keyword Choices*

and in the Define fields I have created 2 new fields Keywords2 and Keywords3 and have made these to act the same as the original Keywords field with pop up list.

When I select info from the pop up list on Keywords2 and 3, It displays the info fine on Photo Catalog DB,

but the Keywords DB does not update to show the matches.

On the Keywords DB the only script assigned to the 'Matches' Field is

If [?not Matches?]

Else

If [?Selected??]

If [?IsValid(Images with Selected Keywords::Keywords)?]

Go tp Related Record {Show, ?Images with Selected Keywords?]

Perform Script [sub-scripts, External: Photo Catalog.fp5?]

End If

Else

If [?IsValid(Images with This Keyword::Keywords)?]

Go to Related Record [show, ?Images with this Keyword?]

Perform Script [sub-scripts, External: ?Photo Catalog.fp5?]

End If

End If

If [?not Keep Window Open??]

Toggle Window [Hide]

End If

End If

Now I know jack about scripts and am not even sure If this needs to be changed so that the new fields Keywords 2 & 3 will be added into the total matches on the Keywords DB, But Logic tells me that the matches field needs to get it's info from somewhere. and that this is the most likely source.

What do I need to do to get the Keywords2 & 3 fields to be updated with the original Keywords field so that the result is displayed in the matches field in the Keyword DB?

This is what I want to achieve: Instead of having the Keywords field a checkbox field, I want to be able to select the keywords with a pop up so that only the keywords relating to the image are displayed with the image.

So I figured If I make multiple pop up Keyword fields (about 10), It would display better than having all the keywords being shown with the checkboxes ( I will be using upto 1000 Keywords) So there isn't enought space to display all the checkboxes.

Could anybody please point me in the right direction? and If I have not explained clearly enough please tell me, I feel silly enough already at having to ask this, but if I don't ask I'll never learn FM.

Thanks frown.gif

Posted

Hi,

May be I should have read the answers you got from the other thread, but it seems to me you don't need any script for this.

Rather a Filtered portal depending on the answer you'll provide to this B)

Does your keyword as an AND or as an OR ?

You want a photo to be identified if it has a "landscape" and "rain" or a "lanscape" or "rain".

If the answer is AND, then it is definitely a filtering portal using prior checkboxes to act as Multi-key for a "search".

Ex :

Photo #1

Keywords : Landscape/Rain/Children/Ball

Photo#2

Keywords : Rain/Sea/Beach/Sunglasses

Photo#3

Keywords : Sun/Sunglasses/Children/Ice-cream

Photo#4

Keywords : School/Children/Ball

Now when you are on filtering, picking "Children" as the first key would lead to another list with :

Ball

Ice-cream

Landscape

Rain

School

Sun

Sunglasses

....and update the portal (I'll use it) to display Photo#1,3,4

Picking "Sunglasses" as the 2nd key would lead to Photo#3

Picking "Ball" as the 2nd key would lead to a third list with :

Landscape

School

Rain.

Picking "Rain" will lead you to Photo#1.

1. Are you saying you just split the 1,000 keywords in 3 separated value lists

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