![]() Place a text box on the form, and set its ControlSource property to: Customer.Contact You can find the \Data directory in one of the following locations: Visual FoxPro 3.x: VFP\Samples\Mainsamp SELECT DISTINCT(ntact) FROM customer Īdd the customer table from the \Data directory to the Data Environment of the form. To input data into a ComboBox control and then store it to a field in a table if the value has changed, follow these steps:Ĭreate a new form, and place the following code in its Load event procedure: PUBLIC ARRAY aTitle(1) This article describes how to input information that may not be contained in the ComboBox control drop-down list and then change a field value in a table with the value that is entered in the combo box. ![]() Combo boxes let data be derived from the following sources: Visual FoxPro lets you use combo boxes in forms to select or input data within the form. Original product version: Visual FoxPro Original KB number: 140652 Summary This article describes how to input data that may not be contained in the ComboBox control drop-down list and then change a field value in a table with the value that was entered in the combo box.
0 Comments
Leave a Reply. |