powerbuilder

Powerbuilder run

Hi, I'm using Powerbuilder to call an external function from a DLL created in C# If I generate an executable it works fine, it call the web service perfectly well, but when I'm trying to run it in "development" mode it don't use the "application_name.exe.config" file. I tried to set "app.config" file hard coded in the DLL, but I was ...

Powerbuilder "runtime"

I've copied (not installed) a system developed with Powerbuilder, from a salvaged hard drive. I want to run the application, but of course, it asks for several DLLs and stuff like that, which are not registered in my current system. My question: is there a procedure to install a "powerbuilder runtime", so to say, in order to run the app...

Possibilities of powerbuilder 12

Hello, I'm a .Net developer and I heard that since release 12 PowerBuilder enhanced integration with .Net. I would like to know what are the advantages of using Sybase PowerBuilder over normal WPF programming techniques and so on. When is it recommended to use Sybase PowerBuilder ? Thanks for the help ...

Powerbuilder resources

I'm recently working in a company where we use PowerBuilder extensively. The only documentation or resources we have access to is some basic course saying things like "Do A, then B and you'll get C". I was wondering if there is some better crash courses or tutorials for this language on the net or somewhere else which actually explain so...

DDE Server Windows:orcascr9.exe: Application Error

Hello I've looked at the queries on SO that pertain to similar errors - but haven't found anything so far, to help with this particular problem I am having with an orcascript which I am running under Powerbuilder9.0. The orca script connects to an SCC service provider, does a full target refresh, and then is supposed to build the exe. ...

Datawindow opening error "The memory could not read"

I'm using PowerBuilder version 7.0.3. While opening/Modify Datawindow the datawindow from the library list i got the following error message ["The instruction at "0x104a985c" referenced memory at "0x00000000". The memory could not be "read" Click on OK to termincate the program Click on CANCEL to debug the program] is there any soluti...

NxTera with PowerBuilder

How to connect the database using Middleware NxTera in PowerBuilder? ...

pfc_Validation event coding example

Could you give me an example of the way I should code into the pfc_Validation event? This is an event that I have never used. For example here is something I have coded in the ue_itemchanged event. if dwo.name = 'theme' then This.Setitem(row,"theme",wf_clean_up_text(data)) end if if dwo.name = 'Comments' then This.Setitem(ro...

Change treeview scroll position thru PowerScript

How can I change Treeview Scroll Position thru PowerScript? Im thinking to synchronize Scroll position of a datawindow and treeview but I cant seem to get it to work. Thanks! ...

How to show unexpandable nodes in Powerbuilder Tree Datawindow

I am using a tree datawindow in powerbuilder. This repesents a mixture of tree and table. My problem is: the tree doesn't visibly distinguish between expandable und non-expandable nodes. If a node is not expandable, the icon in front of the node is still a plus sign, and if I click on the plus sign, the tree shows an empty node below t...

add a watermark to a powerbuilder data window

Hi, we have some confidential reports that we would like to add a watermark to when the print them out -- anyone know if you want add a watermark in a powerbuilder datawindow? Thanks ...

How to make a computed field in a data window object read-only

I hava a data window object, in which I am fetching some attributes from the database to show it to the users. I want to make the computed fields read-only, so that the user can not modify them. How can I make a computed field read-only? ...

How powerbuilder's datawindow executes insert command

I am new to powerbuilder and having a lot of trouble using datawindows. I can't get my head around the insert mechanism of it. Can someone explain it to me, or at least point me in the right direction(article, tips etc...) ? ...

powerbuilder: insert data using datawindow

Hi, suppose I have a table called 'test', into which there are three columns named test_id, test_name and test_age. I have used a retrieval argument called :al_test_id to promot the user to insert an id and search the database for the corresponding id entries, and if found, display it to the user. Now if no entry is found, then I want th...

powerbuilder: link a drop down datawindow with its parent window

Hi, I have a datawindow(let its name be parent), in which I am displaying another datawindow(let us call it the child) as a drop down list. The parent takes two retrieval argument, named org_id and pccc_id. The child takes one retrieval argument named org_id, which should have the same value as the parent's org_id. Now I want to link the...

synchronize jooml mysql and powerbuilder sqlanywhere database

Hallo! I need to synchronize 2 Databases. I have a Windows 2000 Server with Xampp (schoolserver). Do you know some ways to realize this? I thought following: 1.Write the data in the php script or c# script 2. let something like a cronjob(dont know the windows form) run and check both databases. Is there a better way? ...

Powerbuilder 12 Enterprise - I can't get the program I made to run on another computer

Previous used PB 9, PC Client worked fine - got all the dll's copied in Sybase. It was a simplified routine. We've upgraded to PB 12 and now that procedure is all mess up. I'm trying this on a Win 7 machine but will have to do this for XP eventually. I run the runtime manager with as many things checked as possible I select PB Compone...

powerbuilder: pfc_save problem

Hi, I have a user object which is using pfc services. Now, during update, I have written my validation code in the pfc_validation() function, and when validation does not succeed, I am returning -3 from that function. But still I am getting an error message saying - "A database error has occured.....", which means the update process is n...

powerbuilder: How can I make sure that a text field in datawindow is not empty?

Hi, I have a user object which is using pfc services. Now, during update, how can I make sure that a text field in datawindow is not empty? ...

Is there anyone out there using Clear Case with Sybase Powerbuilder?

Word has come from upon high to standardize our SCM system. And upon the clay tablets was written Clear Case. I am reaching out to anyone who is actually using this configuration - to get best practices, hints and tips, war stories, anything... The Sybase Source Control newsgroup only gives back the sound of crickets. We currently h...