![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
After years away from FM I was extremely impressed with what seemed to be incredible potential with FMP7. I had a number of projects to build and I decided to try it. First thing that smacked me in the face was when I tried to use the "Set" scripts. There's no way to define the selection or omission criteria from a field on a layout. It can only be done by entering in a singular value into the script. WTF!? What's the purpose of that?!?!? Why bother? It smells as if they couldnt finish it in time for release. After a simple but stupid work around I get smacked yet again with the Max function. I thought I got it working... but my complex script simply would not work as expected. I looked deeper only to find that the Max function did not. when I built a very simple sample just to test the function by itself it only returned tha value seen by the pointer and does not look at the values across records. BROKEN! I'm going to try the update, but I really don't see how I can trust a full up project to FMP7 after this. |
#3
| |||
| |||
|
|
andychn wrote: First thing that smacked me in the face was when I tried to use the "Set" scripts. There's no way to define the selection or omission criteria from a field on a layout. It can only be done by entering in a singular value into the script. WTF!? What's the purpose of that?!?!? Why bother? It smells as if they couldnt finish it in time for release. |
|
After a simple but stupid work around I get smacked yet again with the Max function. I thought I got it working... but my complex script simply would not work as expected. I looked deeper only to find that the Max function did not. when I built a very simple sample just to test the function by itself it only returned tha value seen by the pointer and does not look at the values across records. BROKEN! I made a simple, db. One field, set as number. i then enter a number of records with data. Then another table with a form layout and one field which I set to numeric and global. The script sets the global field on the second layout to the max of the single field on the first layout. I go to the first layout and run the script. Does not work. It only returns the value that the pointer on the first layout is sitting on. |
#4
| |||
| |||
|
|
andychn wrote: andychn wrote: After a simple but stupid work around I get smacked yet again with the Max function. I thought I got it working... but my complex script simply would not work as expected. I looked deeper only to find that the Max function did not. when I built a very simple sample just to test the function by itself it only returned tha value seen by the pointer and does not look at the values across records. BROKEN! I made a simple, db. One field, set as number. i then enter a number of records with data. Then another table with a form layout and one field which I set to numeric and global. The script sets the global field on the second layout to the max of the single field on the first layout. I go to the first layout and run the script. Does not work. It only returns the value that the pointer on the first layout is sitting on. This behavior is absolutely no different then it was in prior versions. The max() function works on a field in a record, a field across multiple records, or a group of fields in one or multiple records. If you don't specify a relationship, then it is working on only the current record. If you specify a relationship, then it is working on the group of related records. |
(
#5
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |