Problem saving cyrillic data with my DW
Hello, I am having problems saving Cyrillic (Russian) data with my datawindow. I am working with PowerBuilder 12.5 (Build 2511) and a MS SQL Server 2012 database, which contains a table which has two...
View ArticleRe: Error 'cannot get parameters of procedure dbo.fDepartment when calling...
To run a user defined function you have to use an inline SELECT statement. The return value from the function will be a value in the result set which will end up in a local variable specified in the...
View ArticleRe: Error 'cannot get parameters of procedure dbo.fDepartment when calling...
Since it's a database function, you can also use a datawindow... Paint a freeform datawindow that uses the SQL statement:SELECT dbo.ufDepartment ( :a_Dept ) as deptName from dummy ; Pass in the string...
View ArticleRe: Error 'cannot get parameters of procedure dbo.fDepartment when calling...
Embedded SQL? <shudders uncontrollably...>
View ArticleRe: Error 'cannot get parameters of procedure dbo.fDepartment when calling...
The DataWindow is great and all but I wouldn't want to be forced to butter my bread with a steak knife.
View ArticleRe: Error 'cannot get parameters of procedure dbo.fDepartment when calling...
Point taken...Embedded SQL isn't the "Devil" in and of itself, it's just a slippery slope that leads to poor maintainability, IMO. I guess you could design an NVO that exposes that one function and...
View ArticleRe: Problem saving cyrillic data with my DW
Hello Heather,Make sure that you have the following dbparms set: NCharBind=1DisableBind=0 The following is from the documentation for NCharBind: For SNC, the default NcharBind=1 is recommended for...
View Articlerichtext edit control printing
hi, is there a way to overcome the following problem in pb12. we have batch printing // get print job number il_printjobnumber = PrintOpen("Orders") IF il_printjobnumber = -1 THEN...
View ArticleRe: Nested datawindows being broken.
the latest ebf23645 (pb12.6 build 4011) no longer has this issue.
View ArticleRe: PB12.5 hang when help-file open
I know about the WinHlp32 case, and that was installed day 1 with Windows 8.1. As I was saying, the helpfile is already open.As in; I'm coding in PB 12.15.2 with the help open, press run and then PB...
View ArticleRe: PB12.5 hang when help-file open
Hi Bjarne; Sounds like you might have to upgrade to PB 12,6 - which is the first PB Version certified for W8.x. Regards ... Chris
View ArticleRe: Powerbuilder EOL Date
Sorry chris, but ANSI is something to die out in our globalized world! It's typically american standards as usual not respecting other languages and countries in the natural real world. Same with...
View ArticleRe: Powerbuilder EOL Date
Maybe - but for now, the ANSI international date standard rules .... cc yy mm dd.
View ArticleRe: Syntax error while calling database function
Nope - UDFs can return scalar values or resultsets (really, tables). E.g., CREATE FUNCTION [dbo].[uf_sequence] (@N int) RETURNS @T TABLE ( seq int not null primary key clustered ) ...
View ArticleRe: Syntax error while calling database function
If you are using sql server, you should always schema-qualify your objects. I believe this is a requirement for scalar functions, but it is a "best practice" generally. I would also caution against...
View ArticleRe: Syntax error while calling database function
Hi Scott; Most DBMS's will not let you do that in a SF. FYI: Sybase ASE ... The query returns the name of the cursor in a Function, it does not output the rows of the result set. Curiosity: Which...
View ArticleORCAScript SCC Refresh Target Migrate?
Folks, I've been scratching my head about this one for a while. Perhaps someone can provide a definitive clarification ORCAScript offers a command {scc refresh target} that kicks off the PBL refresh...
View ArticleRe: ORCAScript SCC Refresh Target Migrate?
Hi Yakov; I used to do that too but found that scratching activity accelerated my hair loss. The Migrate option is valid. You can perform that activity in the PB Classic IDE via using the RHMB...
View ArticleRe: ORCAScript SCC Refresh Target Migrate?
I use migrate in ORCAScript when doing a build completely from a fresh source pull from the source control system. Migrate doesn't have issues when the object being imported references objects that...
View ArticleRe: Powerbuilder EOL Date
The policy was always to have two active "major" releases on active engineering support. When a new major release came out, the one from two releases prior would go EOL 90 days later. However -...
View Article