divjak Posted September 8, 2007 Share 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 Link to comment Share on other sites More sharing options...
Ender Posted September 8, 2007 Share 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. Link to comment Share on other sites More sharing options...
divjak Posted September 8, 2007 Author Share 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 :-) Link to comment Share on other sites More sharing options...
divjak Posted September 8, 2007 Author Share 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 : Link to comment Share on other sites More sharing options...
Ender Posted September 8, 2007 Share Posted September 8, 2007 It's just like any other find: Enter Find Mode [] Set Field [ field , "Yes" ] Perform Find [] Link to comment Share on other sites More sharing options...
divjak Posted September 8, 2007 Author Share Posted September 8, 2007 thanks, i didnt know that it is so easy and i was thinking about something more complicated :-) Link to comment Share on other sites More sharing options...
Lee Smith Posted September 8, 2007 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6209 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