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!

Can u create a combo box in the detail section of a master\detail form 1

Status
Not open for further replies.

Rahel

Programmer
Feb 16, 2000
30
GB
I'm trying to re-write an Access database in FoxPro. My last obsticle is to be able to create a combo list within the grid. I have a master\detail form in Access that has combo lists in the detail part of the form. I have been looking for a way to be able to create combo lists in the detail part of my form from FoxPro but, am having no luck.<br>
<br>
Is it possible to do this in FoxPro?
 
Yes, Rahel, its possible, just not obvious.<br>
<br>
Right-click the grid and choose Edit (assuming you already have a RecordSource set).<br>
<br>
From the toolbar, click the combobox control and then click in the desired column. If you did it right, it will look like nothing happened.<br>
<br>
From the properties of that Column, move to the CurrentControl property and select the name of the combo (i.e. &quot;combo1&quot;) you just added.<br>
<br>
You didn't ask, but: you can set the column's Sparse property to set whether you want the combobox to be displayed in the entire column, or only in the active cell.<br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top