divjak Posted September 8, 2007 Posted September 8, 2007 hi, in case there is no answer for my previous msg, im wonder if there anybody knows IF and in case of yes, HOW can i custom function in version FM 5.0. (i want to use this function: If ( IsEmpty ( GetRepetition ( RepeatingField ; StartingRepetition ) ) ; StartingRepetition ; Let ( StartingRepetition = StartingRepetition + 1 ; FirstBlankRepetition ( RepeatingField ; StartingRepetition ) ) ) ) thanks a lot
Ender Posted September 8, 2007 Posted September 8, 2007 Custom functions (and the let() function) were not available until FileMaker 7. You might try using a script, or a calc to check each successive repetition. Or better yet, ditch the repeating field, and use a portal of related records.
divjak Posted September 8, 2007 Author Posted September 8, 2007 hi, yes, now i have it done with getrepetition <> 0, but it would be hard if there will be eg. 50 repetitions. i will look for infos about portal record, i dont know anything about them yet. thank you :-)
divjak Posted September 8, 2007 Author Posted September 8, 2007 i have another small qwestion (i dont want to start new topic for something like this). where i can find how to make script which tell to find all records which have on radio-button field checked "yes"? thanks :
Ender Posted September 8, 2007 Posted September 8, 2007 It's just like any other find: Enter Find Mode [] Set Field [ field , "Yes" ] Perform Find []
divjak Posted September 8, 2007 Author Posted September 8, 2007 thanks, i didnt know that it is so easy and i was thinking about something more complicated :-)
Lee Smith Posted September 8, 2007 Posted September 8, 2007 Hi Ender, To add to this: Custom functions (and the let() function) were not available until FileMaker 7. You will need to have the Developer/Advance Edition in order to write a Custom Function.
Recommended Posts
This topic is 6287 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 accountSign in
Already have an account? Sign in here.
Sign In Now