I can select an onAction method for a button, but I can’t see any obvious way to pass a parameter to the method…
It would be useful to have this functionality for all the all events triggered from all form objects.
I can select an onAction method for a button, but I can’t see any obvious way to pass a parameter to the method…
It would be useful to have this functionality for all the all events triggered from all form objects.
can you give an example of what you’d like to do?
maarten:
can you give an example of what you’d like to do?
Sorry, forgot to give you an example! I converted a medium-sized FileMaker 6 solution to FileMaker 7 and found the feature very useful as it allowed me to remove 75% of my scripts.
Now, I’m looking into the issues of converting other FileMaker databases to Servoy.
Hope this exampe is not too complex:
Let’s say I have a timeline that is 35 days wide, with one coloured box per day. The colour will change depending on some calculation based on some data from the database for that day. Clicking on the box would take you to a screen for that day.
In FileMaker 6, you’d need
35 key fields,
35 relationships,
35 calculated box fields and
35 scripts.
In FileMaker 7, you’d need
35 key fields,
35 relationships,
35 calculated box fields and
1 script.
What about Servoy?
If I build my timeline as HTML, I suppose I could add the parameter in the URLs… but will the HTML display as fast as a row of fields?
[/b]
My first impression is that using direct SQL queries combined with HTML would be a zillion times faster.
maarten:
using direct SQL queries combined with HTML would be a zillion times faster.
Very happy to hear that! Is there any example of this technique I can look at?
Can you give me some more details about the datamodel
or an example of what you would like to achieve?
Maybe I can then make a small sample solution.
thanks.
I will try to put a sample solution together, so you have something to work from.