View Full Version : cWebCombo seems not to work
stefanomior
18-Mar-2014, 08:23 AM
I'm trying to use a cWebCombo instead of a prompt list (cWebList), to display the data in a table with a few records, but it seems not to work?!?!?.
I have seen that is also used in the example WebOrder (customer.state) and also there does not seem to work.
Can anyone help me.
thanks
Mike Cooper
18-Mar-2014, 08:38 AM
Hi Stefan
Maybe you could give a bit more detail about the behaviour you are seeing and even include some code for scrutiny. It is hard to respond to something without more details on what you are experiencing and how you have attempted it.
Mike
stefanomior
18-Mar-2014, 08:41 AM
I'm using version 17.1.38.
thanks
stefanomior
18-Mar-2014, 08:45 AM
Hello Mike, the behavior I see is identical to what you can see on the example WebOrder, in view of customers.
Now I try to see if it works in version 18.
many thanks
Harm Wibier
18-Mar-2014, 09:06 AM
What exact behavior are you seeing? Why do you think that is incorrect? Which Browser & OS are you using? The customer state combo works perfectly over here. Note that the customer state is not a parent combo but uses a validation table in the DD.
Regards,
stefanomior
18-Mar-2014, 09:39 AM
Hello Harm, what I try to do is display an object cWebCombo, the data in a parent table, so no fixed or in the tables codetype codemast.
When I try to do this I can not display anything.
7530
.................
Object oMezzi_DD is a cMezziDataDictionary
Set DDO_Server to oProprietari_DD
Set DDO_Server to oAliasOperatori_DD
End_Object
Object oDettaglioLavori_DD is a cDettaglioLavoriDataDictionary
Set DDO_Server to oTipoAmbiente_DD
Set DDO_Server to oTipoLavoro_DD
Set DDO_Server to oOperatori_DD
Set DDO_Server to oMezzi_DD
End_Object
.............................
Object oMainPanel is a cWebPanel
Set piColumnCount to 10
Object oWebCardContainer1 is a cWebCardContainer
Set pbShowBorder to True
Object oWebCard1 is a cWebCard
Set piColumnCount to 10
....................................
Object oDettaglioLavori_id_Mezzi is a cWebCombo
Entry_Item Mezzi.id
Set psLabel to "Mezzo:"
Set piColumnSpan to 3
End_Object
Object oMezzi_Modello is a cWebForm
Entry_Item Mezzi.Modello
Set piColumnIndex to 3
Set piColumnSpan to 2
Set piLabelOffset to 1
Set pbEnabled to False
End_Object
Object oDettaglioLavori_id_Opertore is a cWebForm
Entry_Item Operatori.id
Set psLabel to "Operatore:"
Set piColumnIndex to 5
Set peLabelAlign to alignRight
Set piLabelOffset to 65
Set piColumnSpan to 2
End_Object
..........................................
Many Thanks
Garret Mott
18-Mar-2014, 09:53 AM
If you use code tags (the # button in advanced, or start with [ code] and end with [ /code] - remove the space after the [ ) - your code will be much more readable:
Object oDettaglioLavori_id_Opertore is a cWebForm
Entry_Item Operatori.id
Set psLabel to "Operatore:"
Set piColumnIndex to 5
Set peLabelAlign to alignRight
Set piLabelOffset to 65
Set piColumnSpan to 2
End_Object
stefanomior
18-Mar-2014, 09:59 AM
Thanks Garret, I corrected the post.
chuckatkinson
18-Mar-2014, 10:23 AM
Quick question - do you have the Server set in your container(s) ?
stefanomior
18-Mar-2014, 10:30 AM
hi chuck, yes...
Set Main_DD to oDettaglioLavori_DD
Set Server to oDettaglioLavori_DD
stefanomior
18-Mar-2014, 10:42 AM
hi Chuck, yes
Set Main_DD to oDettaglioLavori_DD
Set Server to oDettaglioLavori_DD
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.