Selasa, 31 Januari 2012

[MS_AccessPros] Re: Reading subform combobox column value

 

Ahmed,

You can use code like:

Private Sub cmdReadColumn_Click()
MsgBox Me.sfrmWithCombo.Form!cboYourNameHere.Column(2)
End Sub

Duane Hookom
MS Access MVP

--- In MS_Access_Professionals@yahoogroups.com, ahmad beshari <a1_beshari@...> wrote:
>
> Dears
> I have a form with subform, a Combobox with 3 columns is one of the subform controls .By clicking a Buttom in the main form i like to read the
> value for the third column in the combobox Is there any way to do this?
> thanks
> Ahmed
>

__._,_.___
Recent Activity:
.

__,_._,___

Tidak ada komentar:

Posting Komentar