cancel
Showing results for 
Search instead for 
Did you mean: 

Not Showing Retrieval Arguments in Datawindow PB.NET

Former Member
0 Kudos

Hi ,

I have created a simple datawindow in Powerbuilder classic 12.5 build 5609 and I have Imported to Powerbuilder NET same version and build.

When I try to see the retrieval arguments I get the below

As you can see from above the second and third retrieval argument are not showing.

So what I did (anyone would have done this) I retyped them. And of course I got the below

Any ideas ?

Appreciate any help you could give me.

thank you

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi to all

Appreciate everyone for your thoughts and guidance.

I have downloaded windows update for my 8.1 machine restarted my pc , disabled a touchpad device service and I 'm not getting the error anymore.

I have opened the Datawindow and all of the arguments are in place and working.

I don't have an explanation for this.

But for now I'm good.

Thanks again for all your support

Answers (4)

Answers (4)

Former Member
0 Kudos

That error is usually caused by some window service.  We seen it with the ActiveIdentity as one such service.  Disabling the service that is causing the issue will usually solve the problem.

You could also manually edit the datawindow.  For example:

updatewhere=1 updatekeyinplace=no arguments=(("arg1", string), ("arg2", string)) )

There is a KBA, 1960715 - PowerBuilder: Adding retrieval argument causes "Column 2
has an invalid name and/or length " error, but you need a support agreement to see it.  The above is the gist of the article describing and working around the problem.

HTH

Ted Zimmerman

Former Member
0 Kudos

I'm running PB.Net 12.5.2.5629 and have the same problem with the infamous 2nd retrieval argument.

I've disabled just about every service on my laptop and it still didn't help.  It fixed Classic, but not .Net.

Former Member
0 Kudos

Can you move that retrieval arguments window out of the way?   This is a syntax-based datawindow, and we can't see the entire query.

Former Member
0 Kudos

I would upgrade to PB 12.5.1 or later. I think that was an early bug.

Former Member
0 Kudos

That is a very good point Mark ... IMHO PB 12.5.0 was quite buggy in general (both Classic & .Net).

FWIW: PB 12.5.1 is very "solid" for me & my clients.

Former Member
0 Kudos

Hi to all

Forgive my mistake not to mention that I am 12.5.2 build 5609. Missed the .2 on my first post.

thank you

CobyKako
Advisor
Advisor
0 Kudos

@ Mark and Chris,

Zacharias is using PB 12.5 build 5609: this is a build number of PB 12.5.2 !!!

In the SAP terminology, SP02 is the minor version so 12.5 SP02 stands for 12.5.2

Zacharias, you can probably install latest patch level to g to build 5703

Former Member
0 Kudos

Hi Jacob ,

Can you send me the link for the download ?

I cannot just install the new EBF because I have other apps with the 5609 build . The runtimes in my clients are in 5609.  It is not an easy task.

Are we absolutely sure that this will work ?

thank you

CobyKako
Advisor
Advisor
0 Kudos

Sure !!!

You need to have a valid SAP S-userid to download patch levels

Honnestly, I'm unsure

* you will be more lucky with build 5703

* problem will disappear with that build.

CobyKako
Advisor
Advisor
0 Kudos

I have no problems to convert a Classic application into .NET

I'm using the EAS Demo DB V125 database

DataWindow is built against EMPLOYEE table. Below the SQL statement

SELECT employee.emp_fname,

         employee.start_date,

         employee.termination_date,

         employee.emp_lname

    FROM employee

   WHERE ( employee.emp_fname = :arg_fname ) AND

         ( employee.start_date = :arg_start_date ) AND

         ( employee.termination_date = :arg_termination_date ) AND

         ( employee.emp_lname = :arg_lname )


My OLE db connection from Classic IDE

The DataWindow Retrieval Argument window from Classic IDE

The DataWindow Retrieval Argument window from .NET IDE

Read this url for the error message you get: http://scn.sap.com/thread/3600051

Usually, this error should happen on both IDEs, so it is strange you only have this problem on the .NET environment...

Hope this helps

Former Member
0 Kudos

hi  Jacob.

In Pb classic is not happening. But in .NET ...

I'm connecting to an SQL server 2008 R2 64bit and my machine is windows 81 64bit.

As far as I can read from the posts there isn't any standard solution for this.

I saw 3-4 different solutions to resolve this.

I will start disabling processes.

Anyone from Sysbase ?

thank you Jacob