i have made multiple scripts that do a modified version of find.
i have two layouts that will interact in this script,
one will have global fields (will serve as the search form)
and one will have the records with the actual data.
what will happen is the user will enter the name of an author,
my script will then go into a loop searching each record and if any of the records match it will set a field i have named "author found" = 1.
the if condition looks like as follows
if[table::author = table::global author]
set field[author found = 1]
end if
the problem i have is occassionally filemaker will not enter the if statement when infact author and author global are equal i have put dialogs in the if to see if it enters it or not as well as have a seperate layout to see if author and author global are the same, sometimes filemaker will enter the if statement and sometimes not when it should enter the if statement.
does anyone see the problem?
I have a similar problem with a key word search, file maker decides when it wants to work or not, ive written the logic plenty of times on paper and it will work sometimes and other times it wont.
i have two layouts that will interact in this script,
one will have global fields (will serve as the search form)
and one will have the records with the actual data.
what will happen is the user will enter the name of an author,
my script will then go into a loop searching each record and if any of the records match it will set a field i have named "author found" = 1.
the if condition looks like as follows
if[table::author = table::global author]
set field[author found = 1]
end if
the problem i have is occassionally filemaker will not enter the if statement when infact author and author global are equal i have put dialogs in the if to see if it enters it or not as well as have a seperate layout to see if author and author global are the same, sometimes filemaker will enter the if statement and sometimes not when it should enter the if statement.
does anyone see the problem?
I have a similar problem with a key word search, file maker decides when it wants to work or not, ive written the logic plenty of times on paper and it will work sometimes and other times it wont.