Hi,
I use a lot of HTML-style hyperlinks in my FileMaker databases.
Whenever the user sees a blue underlined field, they can click on it and go to the relevant record in the database.
For example: If you are in a company database and click on a person's name in a portal this will take you to that person's record in the person database..
So I frequently do the following in FileMaker:
if(status(currentmode) <> 1) {
//check i'm not in Find Mode, otherwise it will not be posssible to do a find
Perform script(Related Database,Enter Browse Mode)
//GTRR does not work when related database is not in browse mode
Go To Related Record(RelationshipName,show)
//Shows only the related records
Perform script(Related Database,Go to some layout)
} else {
//i'm in find mode
Go to Field(The field I clicked on)
}
How do I script this in Servoy, the Servoy way?