How do I update array the Fix after a DCGET COMBO created

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
digitsoft
Posts: 451
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

How do I update array the Fix after a DCGET COMBO created

#1 Post by digitsoft »

Hi Roger
How do I update array the Fix after a DCGET COMBO created

@ xRow+00.5,09.4 DCGET cIDUsuario PICT "@K!" ;
GETOBJECT oIDUsuario ;
KEYBLOCK {|a,b,o|aSearchName(a,b,o,@cIDUsuario,@aIDUsuario)} ;
VALID {|l| BuscarUsuario( "C-1",aApp, GetList ) } ;
COMBO ;
WIDTH 26.0 ;
HEIGHT 09 ;
DATA aIDUsuario ;
ELEMENT 1 ;
WHEN {|| !lEditar }
Nolberto Paulino
Regards

reganc
Posts: 257
Joined: Thu Jan 28, 2010 3:08 am
Location: Hersham, Surrey, UK
Contact:

Re: How do I update array the Fix after a DCGET COMBO cre

#2 Post by reganc »

Have a look at dc_vartolistbox()..
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com

User avatar
Tom
Posts: 1165
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: How do I update array the Fix after a DCGET COMBO cre

#3 Post by Tom »

Since the combo is a browse which is created when clicking on the button, there is no need to actualize any control. If the combo array varies, the browse will do.
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

reganc
Posts: 257
Joined: Thu Jan 28, 2010 3:08 am
Location: Hersham, Surrey, UK
Contact:

Re: How do I update array the Fix after a DCGET COMBO cre

#4 Post by reganc »

Tom wrote:Since the combo is a browse which is created when clicking on the button, there is no need to actualize any control. If the combo array varies, the browse will do.
Oh, yes, didn't read it closely enough (and realise he was using a DCGET combo), did I? :-)
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com

User avatar
digitsoft
Posts: 451
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

Re: How do I update array the Fix after a DCGET COMBO cre

#5 Post by digitsoft »

Hello Tom
I am using a GET with COMBO
I have already tested with DC_VarToListBox, DC_GetBrowArray and DC_GetRefresh, but this does not update the DCGET with COMBO


@ xRow+00.5,09.4 DCGET cIDUsuario PICT "@K!" ;
GETOBJECT oIDUsuario ;
KEYBLOCK {|a,b,o|aSearchName(a,b,o,@cIDUsuario,@aIDUsuario)} ;
VALID {|l| BuscarUsuario( "C-1",aApp, GetList ) } ;
COMBO ;
WIDTH 26.0 ;
HEIGHT 09 ;
DATA aIDUsuario ;
ELEMENT 1 ;
WHEN {|| !lEditar }


reganc wrote:
Tom wrote:Since the combo is a browse which is created when clicking on the button, there is no need to actualize any control. If the combo array varies, the browse will do.
Oh, yes, didn't read it closely enough (and realise he was using a DCGET combo), did I? :-)
Nolberto Paulino
Regards

Post Reply