blog.servoy.com
Servoy News | Servoy blog
http://blog.servoy.com/category/servoy-news
Opinions and news on everything Servoy. Skip to primary content. Skip to secondary content. Category Archives: Servoy News. What made Reflecta choose Servoy as frontend for Progress? January 30, 2015. November 18, 2014. Looking back we found ourselves in the perfect storm over the last year developing Servoy v8. As our focus for Servoy v8 was primarily on user experience, we learned that great UX in modern web applications relies on responsive design. One of the upcoming web frameworks, AngularJS turned ...
servoyuniversity.blogspot.com
Servoy University: Servoy TIP: Changing A Form's Style On-The-Fly!
http://servoyuniversity.blogspot.com/2011/09/servoy-tip-changing-forms-style-on-fly.html
Monday, September 12, 2011. Servoy TIP: Changing A Form's Style On-The-Fly! I had a need the other day to change the style that was displaying on a form. My first thought was to just change all the object properties via scripting (a HUGE pain! But, with the help of the SolutionModel (and controller.recreateUI(). In version 5.2 ) - it was a snap. Let's say you have two styles: "defaultStyle" and "fancyStyle" defined in your resources. If you use this code:. MyForm.styleClass = "fancyForm";.
servoyuniversity.blogspot.com
Servoy University: Servoy TIP: How and Why To Implement UUIDs As Your Primary Key
http://servoyuniversity.blogspot.com/2011/07/servoy-tip-how-and-why-to-implement.html
Friday, July 29, 2011. Servoy TIP: How and Why To Implement UUIDs As Your Primary Key. When setting up your database tables (if you create them in Servoy) - you know that Servoy automatically creates an integer unique record id that you can use when you relate data to/from another table. It's called a primary key. That auto-increments when a new record is created. In most cases, an auto-incrementing integer primary key will be just fine. Here's the Wikipedia definition. In its canonical form, a UUID cons...
servoyuniversity.blogspot.com
Servoy University: July 2011
http://servoyuniversity.blogspot.com/2011_07_01_archive.html
Friday, July 29, 2011. Servoy TIP: How and Why To Implement UUIDs As Your Primary Key. When setting up your database tables (if you create them in Servoy) - you know that Servoy automatically creates an integer unique record id that you can use when you relate data to/from another table. It's called a primary key. That auto-increments when a new record is created. In most cases, an auto-incrementing integer primary key will be just fine. Here's the Wikipedia definition. In its canonical form, a UUID cons...
servoyuniversity.blogspot.com
Servoy University: September 2011
http://servoyuniversity.blogspot.com/2011_09_01_archive.html
Monday, September 19, 2011. Servoy TIP: Getting The Current Quarter Date Range. I do a lot of applications where users want reports or lists that take a date in the current record and filter or find all the records "In This Quarter". The calculation isn't all that difficult - but it's a cool time saver. Below, I've actually created 3 functions - so you can use the quarter start date, end date, or date range. Return the starting quarter date for a given date. InputDate) { return null; }. Else if (mo 6) {.
servoyuniversity.blogspot.com
Servoy University: Servoy TIP: How To Reference A Relation in Code
http://servoyuniversity.blogspot.com/2011/06/servoy-tip-how-to-reference-relation-in.html
Monday, June 27, 2011. Servoy TIP: How To Reference A Relation in Code. OK - here's the first Servoy QuickTip - and it has to do with relations. When you're using relations in a conditional statement - and especially. When you're using them in calculations - make sure you test for the existence of the relation first. First - the wrong. If(myRelation.getSize() 0) {. And make sure the relation is valid before you try to access any of the functions on a relation. If(myRelation & myRelation.getSize() 0) {.
servoyuniversity.blogspot.com
Servoy University: Servoy TIP: How To Efficiently Create Records
http://servoyuniversity.blogspot.com/2011/07/servoy-tip-how-to-efficiently-create.html
Friday, July 1, 2011. Servoy TIP: How To Efficiently Create Records. This will create a new record as the first row. And will update the user interface. In most cases this is OK - however, there may be times when you want to add records and not. Update the user interface. In this case you want to use the foundset object:. Foundset.myField = "value";. Now that's all find and good - the record will be created and the user interface won't immediately change (until you call databaseManager.saveData().
servoyuniversity.blogspot.com
Servoy University: Servoy TIP: Calculating Age
http://servoyuniversity.blogspot.com/2011/08/servoy-tip-calculating-age.html
Friday, August 26, 2011. Servoy TIP: Calculating Age. Calculating the age of something (or someone) is a task that I come across a lot. Here's a simple function that will help get you the basics:. Var now = new Date();. Var yr = now.getFullYear() - myDate.getFullYear();. Var mo = now.getMonth() - myDate.getMonth();. Mo = myDate.getMonth() - now.getMonth();. Var days = now.getDate() - myDate.getDate();. Days = myDate.getDate - now.getDate();. Var agestr = yr " years, " mo " months, " days " days";.
servoyuniversity.blogspot.com
Servoy University: June 2011
http://servoyuniversity.blogspot.com/2011_06_01_archive.html
Monday, June 27, 2011. Servoy TIP: How To Reference A Relation in Code. OK - heres the first Servoy QuickTip - and it has to do with relations. When youre using relations in a conditional statement - and especially. When youre using them in calculations - make sure you test for the existence of the relation first. Subscribe to: Posts (Atom). Servoy TIP: How To Reference A Relation in Code.
servoyuniversity.blogspot.com
Servoy University: Servoy TIP: Getting The Current Quarter Date Range
http://servoyuniversity.blogspot.com/2011/09/servoy-tip-getting-current-quarter-date.html
Monday, September 19, 2011. Servoy TIP: Getting The Current Quarter Date Range. I do a lot of applications where users want reports or lists that take a date in the current record and filter or find all the records "In This Quarter". The calculation isn't all that difficult - but it's a cool time saver. Below, I've actually created 3 functions - so you can use the quarter start date, end date, or date range. Return the starting quarter date for a given date. InputDate) { return null; }. Else if (mo 6) {.