Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Karl-Heinz" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: Help on saving an array element to table Date: Sat, 27 May 2017 12:10:03 +0200 Lines: 30 Message-ID: References: <8a12c750-f4f4-495b-ab6e-5e1709b80436@googlegroups.com> <5e5c4dd8-5001-4fdf-9e0b-c71e59ffffa5@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: individual.net YElVstpUkbp4dFzVSaJ+SQkDRe/qSSn0fpdefVbcPLarlDU4M= Cancel-Lock: sha1:QQRc87ifQekJb0iSaFQIHLjvZBg= In-Reply-To: <5e5c4dd8-5001-4fdf-9e0b-c71e59ffffa5@googlegroups.com> X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 16.4.3564.1216 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3564.1216 Xref: csiph.com comp.lang.clipper.visual-objects:10612 Hi Phil, > server:FIELDPUT(#transcod, aData) > > LOCAL uValue AS USUAL > Local aData AS ARRAY > > UValue := server:FIELDGET(#transcod) > if isArray(uValue) > aData := Uvalue > endif seems i´m on another trip ;-) i may be wrong, but my interpretation is that Jose wants to save a selected value e.g. "PO" to the server field #TRANSCOD. So i´m wondering: 1. How are his users currently able to select any of the codes ? 2. why he´s not using a comboBox that saves a corresponding value automatically, without the need to ascan() anything ? fill combobox: oDCTRANSCOD:Fillusing ( aTranscod ) regards Karl-Heinz