how to write a recursive function to create a treeview from data in datawindow?
I have a parent-child data in a datawindow from a table mytab(id, pid....)Then I want to use to data to create a tree in treeview. I try to use recursive function, but have problem with datawindow as...
View Articlehow to use rowid in filter for datawindow?
I try to use filter to filter data in datawindow, likedw_1.SetFilter("column = value")dw_1.Filter() then I can get data from this datawindow like:GetItemNumber(row, column_name)GetItemString(row,...
View ArticleIs PB 12.5 compatible with windows server 2012?
Is PB 12.5 compatible with windows server 2012? Thanks in advance!Pedro Soares
View ArticleNot Able to Access the Properties of Workspace and Target
Hello, I have install PB 11.2 Build 9027 on my laptop ( Windows 7 (64 bit))). PowerBuilde is open and able to see the existing code.But when I am trying to access the properties of Workspace or target...
View ArticlePB-Memory Analysis / PbHeap_dump
Hello there, i would like to get back in mind the old Memory tracing documented in EAServer / PowerBuilder Memory Tuning and Troubleshooting Technote: Modeling & Development - Sybase Inc...
View Articlehow to override ancestor's script?
Suppose I have a object, say a window w_1 with event ue_myeventWhen w_2 inherits from w_1. In w_2, I want to override or disable event script for ue_myevent from w_1. How can I do it?
View ArticleUsing SharedObject to call webservice in multithread
Hi! I successfully implemented multithread on a wcf webservice on PB .Net 12.5.2 Now I need to call that wcf from my PB classic app, also using multithread. I want to call the webservice (a child...
View ArticlePerformance Issue with Web Service Datawindows
Is there anything that can be done to improve the performance of the Web Service datawindow? Our web services have been tuned to the point they take less than a second to retrieve data however, our...
View Articlehow to find out a treeviewitem in treeview?
For example, I use treeviewitem.Data, then I want to find out a item in the tree for Data = "123". Looks like no easy way. How can I do it quickly? I don't use pfc.
View Articlehow to drag and drop a sub tree between 2 treeview?
Suppose I have 2 tree rendered in 2 treeview. Then I want to drag and drop any subtree on any node between the 2 tree. For example, in tree 1, if I drag node node1 and drop it on tree 2 node node2. I...
View ArticleWord OLE Automation
Hi All, I have the below scenario.Can any one please suggest a solution. I created a variable for OLE object , iole_word_application, and started MS Word with it....
View ArticleInvalid object name for Next value from sequence using sqlserver 2012
Select SequenceName.nextVal into lint from dual ; Invalid object name error message is coming when using sqlserver 2012Please help
View ArticleNot able to get Oracle stored procedure return value passed to Powerbuilder
I have an Oracle Stored Procedure that receives a string value and returns a string value.. When I call it from Powerbuilder, it executes but does not send the return value of a string back. I am...
View ArticleWhat is latest PB 12.5 Build?
Is the latest version of PB 12.5.2? And the latest Build is 5550?
View ArticleGetting a users network ID
Hello, Let me preface this post by saying I am in no way a PB developer. I have inherited several PB Classic applications that need some work in converting them to run on Windows 7 64bit. Right now I...
View ArticleWill PB IDE be made available as 64 Bit?
I know PB 12.6 can deploy 64 bit, but the IDE is always 32 bit. Are there plans to get the IDE running on x64?
View ArticleHow to call stored procedure with parameter
I want to call the below sqlserver procedure in powerbuilder by passing argument int li_id, string ls_customercode ALTER PROCEDURE [dbo].[spInsertCustomer] @id int, @CustomerCode nvarchar(10) AS...
View ArticleNeed Program A to call Program B
Good day. I have a need for this type: I have two programs Powerbuilder that must be able to call each other. es:The program A should be able to run the program B and open a specific window determined...
View ArticleHi, can anyone help me this question: Does Powerbuilder 12.5.2 Support th...
Hi, Can anyone help me the question. Does Powerbuilder 12.5.2 Support the Oracle 12c 64-bit Client drive? Regards, Shiang Ye
View ArticleHi, can anyone help me this question: Does Powerbuilder 12.5.2 Support the...
Hi, Can anyone help me this question: Does Powerbuilder 12.5.2 Support the Oracle 12c 64-bit Client driver ? I developed and compiled the PB 12.5.2 program in win7 64...
View Article