Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Powerbuilder Datawindow Error

Tags:

powerbuilder

Help, our team upgraded/changed our Laptops from Windows XP to Windows 7 64 Bit, that came with the laptop itself. its therefore licensed and cannot be downgraded.

When using a datawindow and adding the second argument

I am getting Column 2 has an invalid name and/or length error...

I also opened my other already made Datawindow from the previous laptop that has multiple arguments. every 2 args. the name is missing.. but when you delete the top part. you can see the invisible argument is there.

Any patch I need to install. I cannot proceed with my programming

like image 851
Sid Avatar asked Mar 21 '12 09:03

Sid


Video Answer


2 Answers

The workaround posted by @Slapout didn't work for me. I did however find a KB article on Sybase's website that helped:

It appears that all HP computer systems come preloaded with a program called Digital Persona. This program is used by the finger print scanner built into many of their laptop systems. They also install it on desktop machines. There is a service created called either "Authentication Service" or "Biometric Authentication Service." These services must be stopped in order for the retrieval argument error to be resolved.

On the HP Elitebook 2740p stopping the service for the touch pad called "Tablet PC Input Service" will resolve the retrieval argument error.

Another piece of software to look for is DisplayFusion multi-monitor tool. Killing that process will also resolve the problem.

I couldn't find any services with them names, but I did find DpAgent.exe and a few variations thereof, in the task manager process list. Killing them immediately fixed the problem.

like image 194
Danny Beckett Avatar answered Sep 28 '22 16:09

Danny Beckett


well, for me none of the above mentioned method was working, but I had a workaround. I added the first parameter as usual with the datawindow painter. My first parameter name: "username" is a string. I would like to add a second parameter: "password". For this I made the following steps:

  1. Open the datawindow (double click on the datawindow object)
  2. Click on Data source toolbar button
  3. Select Design/Convert to syntax
  4. Click back and save the datawindow

After that open the datawindow source:

  1. Right click on the datawindow object
  2. Edit source
  3. Search for string like: arguments=(("
  4. In my case it was: arguments=(("username", string))
  5. Add the second argument this way (in my case): arguments=(("username", string),("password", string))

So you need to simply copy the first argument after a comma. Of course you have to give a name and a type for the second argument like in my example!

Br. Gábor

like image 35
DARKinVADER Avatar answered Sep 28 '22 16:09

DARKinVADER