Jang
I would advice don't use controlsource property
In the resfresh event for combo withe the following code
this.displayvalue=table1.name
rowsource: table1.name,acc_code,serial_id
Vladimir
>
>3. In my form:
> cbserial_id is a combox, rest of the fields are textboxes.
> properties of cbserial_id:
> control source: table1.serial_id
> bound to: .T.
> rowsource: table1.serial_id,name,acc_code
> rowsource type: 6 - fields
> select on entry: .T.
> sorted: .F.
>
>
MVP-2006-2011, PHD in Math and Physics ,
host of
www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.