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!

VFP 6 Combo control initial value

Status
Not open for further replies.

eric43

Programmer
Apr 29, 2005
94
AU
I have a combo based on a small table which could range from a single record from 1 to a variable number based on prior processing.

I want to display the value of the record when the form fires up.

I use cmbo.value = table.field in the init method.

When there is only one record it displays 1 but the Interactive Change method does not fire.

Can I start the form with the value 1 in the combo and still use the code in the IC method to drive the rest of the forms controls?

Thanks Eric
 
Problem solved - removed 'Lost Focus' code this.value = table.field.

Eric
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top