Combobox error.

This forum is for eXpress++ general support.
Post Reply
Message
Author
omni
Posts: 531
Joined: Thu Jan 28, 2010 9:34 am

Combobox error.

#1 Post by omni »

Roger

We use combo boxes in most of our user entry programs. This is very weird.
Use xbase 2.0, express 262

This causes an error.

aSType9:= {{PADR("15 Days",10),'15'},;
{PADR("30 Days",10),'30'},;
{PADR("60 Days",10),'60'},;
{PADR("90 Days",10),'90'}}

I change the '9' to a '4' and it works. Never seen this before.

Changed it back to 9 and it gives an error again. Just that one line. All other items in prg that relate to this are remarked out..took a while to figure out why the error was occurring so I remarked out all changes to isolate the exact location that cause the error message.

-> VALTYPE: O CLASS: DC_XbpComboBox
-> VALTYPE: A VALUE: {"15 Days ", "15"}
oError:description : Parameter has a wrong data type
oError:filename :
oError:genCode : 2
oError:operation : :addItem
CALLSTACK:
Called from XBPLISTBOX:ADDITEM(1304)
Called from DC_XBPCOMBOBOX:CREATE(1395)


Funny, I have lots of programs using aSType9:=. Thought you may enlighten me on that line in the create/additem that would cause that.
No big deal as I got it to work. Maybe the numbers as part of the description?

Fred
Omni

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Combobox error.

#2 Post by rdonnay »

I don't know what you mean when you say you changed the 9 to 4.

I don't see anything in the array that is a number 9. Do you mean 90?
The eXpress train is coming - and it has more cars.

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: Combobox error.

#3 Post by Eugene Lutsenko »

.
Last edited by Eugene Lutsenko on Fri Mar 09, 2018 11:26 am, edited 1 time in total.

omni
Posts: 531
Joined: Thu Jan 28, 2010 9:34 am

Re: Combobox error.

#4 Post by omni »

Roger,


Forget I ever opened this question.

The array was already used and I missed it.

1*&$^@#*$#@*$!!!

Fred

Post Reply