Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combobox and numeric row/control Source

Status
Not open for further replies.

flamfox

Programmer
Sep 26, 2003
6
RO
I have a combobox with a numeric field as data source, and a numeric field as control source.
Is there any way to put in the destination table the numeric value selected in combobox instead of the recno() from the source table without additional coding.
It looks strange for me that with character fields, it behaves how I want, but with numeric fields is different.
Thanks in advance!

VFP8.0 SP1 on Win2K SP4
Code:
ControlSource=TabDest.NameField
RowSourceType=6 – Fields
RowSource= TabSource.NameField
Style=2 – Dropdown List
 
Yes, check out the BoundTo property - when the bound column is numeric, you want to set this property to .T.

Rick
 
rgbean

Beside the BoundTo property, my fields where having decimals and the problem seems to come from the setting :
Code:
Set point to ','
,the standard Romanian number representation is like 999.999,99

My problem is solved

Thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top