You are currently browsing the post archives for February 2011.

PowerBuilder – Development vs. Production Mode

Posted on February 22, 2011 at 8:20 pm in

You can set up a variety of helpful methods for use while developing an application which you don’t want users to get their hands on when in production. One example of this is my Window Information Service . To make this only available when running from the Powerbuilder IDE use the following steps. Set up…

PowerBuilder – Development vs. Production Mode - the full story »

PowerBuilder – PFC String service extension

Posted on February 21, 2011 at 8:20 pm in

Here is a simple modification to the PFC string service (n_cst_string) which will parse out an array of any datatype and returned a delimited string of the contents. The new method is a polymorph of the existing of_arraytostring. public function long of_arraytostring (any aa_array[], string as_delimiter, ref string as_string) // convert array to string array…

PowerBuilder – PFC String service extension - the full story »

Sequence Numbers in SQL

Posted on February 7, 2011 at 8:20 pm in

Here is a link to a very good article on SQLServerCentral.com showing a technique to re-sequence items via a database stored procedure rather than on the client. It’s pretty straight forward and solves a fairly common issue I’ve addressed several times in PowerBuilder over the years.

Sequence Numbers in SQL - the full story »

PowerBuilder ‘Gotcha’ – Autoscript and Clipboard

Posted on February 2, 2011 at 8:20 pm in

Ah, you finally gotten the time to refactor some code or maybe even clean up some proof of concept to move it into an actual application and now it’s time to make the stuff more ‘Object Oriented’. You look in your Open method and it’s full of various stuff. You create a new method to…

PowerBuilder ‘Gotcha’ – Autoscript and Clipboard - the full story »

Top