Results 1 to 3 of 3

Thread: WebColumnCombo value removed

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2020
    Posts
    15

    Default WebColumnCombo value removed

    Hi all,

    I have a WebColumnCombo (oBenRelationCol) which is being populated through a webservice.
    I am able to select the values and everything is working as it should.

    However when I click back on a row which had the value selected, the value in this WebColumnCombo is removed.

    https://drive.google.com/file/d/1mXA...ew?usp=sharing

    In the same WebList, which has no databinding, I have another WebColumnCombo which is being populated manually by the AddComboItem and is working properly.

    Code:
                    Object oBenRelationCol is a cWebColumnCombo
                        Set psCaption to "Relation"
                        Set piWidth to 20
                        Procedure onFill
                            Forward Send OnFill
                            Integer iNum i
                            //
                            Get wsGetListofRelations of oWsInternal to mBenRelationList 
                            //
                            Move (SizeOfArray(mBenRelationList)) to iNum
                            //
                            For i from 0 to (iNum-1)
                                Send AddComboItem mBenRelationList[i].sRelation mBenRelationList[i].sRelation
                            Loop                
                            //
                        End_Procedure                      
                    End_Object
                    
                    Object oBenGenderCol is a cWebColumnCombo
                        Set psCaption to "Gender"
                        Set piWidth to 20
                        Procedure onFill
                            Forward Send OnFill
                            //
                            Send AddComboItem "<Undefined>" "<Undefined>"                                                                        
                            Send AddComboItem "M" "Male"
                            Send AddComboItem "F" "Female"
                            //
                         End_Procedure                    
                    End_Object
    Click image for larger version. 

Name:	Image1.JPG 
Views:	37 
Size:	43.1 KB 
ID:	14106

    Thanks in advance.
    Last edited by jcachia; 24-Nov-2020 at 04:08 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •