is their a way to goto a single record more easily then using a find
if (controller.find())
{
id = globals.selected_cons_id
controller.search()
}
it seems there should be a way of doing this with load records or something. I know the id is unique, it seems there should be a simple way of doing this.
If you are looking for an equivalent of the FM GTRR command there are quite a few threads on this subject. Try putting GTRR in the Search box top right.
If you have two Forms using the same foundset - ie List and Detail Forms you can use:
var vIndex = forms.List.controller.getSelectedIndex()
forms.Detail.controller.loadRecords(vIndex);
For more examples take a look at the examples for loadrecords()
I atually found a good way from the CRM solution and thats by lots of sub nested tab panels, with a drop down list of found records and then a further nested tab panel with a relationship from the selected_global_Id from the drop down list.
It all gets a bit mind boggling, but the result is well worth it and though not as quick as FM, a damn site quicker than PHP!
Youll be pleased to know i am working on the reportwriter solutiuon not the case management! I think it would be great to get that from FM to Servoy so it will keep me out of trouble with the main project!!!
I wouldnt say slower Bob,
just a bit more technical and more challenging to work out how to do things.
However once mastered it is massively advantageous. I am already a true convert.
Just getting to the stage where i can annoyingly work some things out, like the above, for myself, but the forum and community advice is fabulous.
So is having the MD looking at his forum on a sunday night. I wish filemaker could look at their feedback on a sunday night and tell me why there solution falls over 3 times a week and corrupts its files!!!
Anyway not to worry, I look forward to coming over with Graham on the 23rd and persuading my team that it is time to rebuild our whole database platform in Servoy.
org.apache.commons.dbcp.DbcpException: java.sql.SQLException: JZ00L: Login failed. Examine the SQLWarnings chained to this exception for the reason(s).
java.sql.SQLException: JZ00L: Login failed. Examine the SQLWarnings chained to this exception for the reason(s).
After setting up the Sybase database and editing the config file you have to close Servoy AND close the Sybase “dbserv9” service. Then re-start Servoy Developer.
Alternatively try MySQL - just create the DB in Navicat or similar and Servoy will be able to connect immediately without any editing or re-starting.