Sir i made the new test one.
Tablename: TestTable
Fields: Properties, Rent, Targeted, Difference
Comboname: TestCombo
Fields: PropertyList, TargetedAmount
Where "Properties" Is a Combo box
Control Source- Properties
Row Source- SELECT [TestCombo].[ID], [TestCombo].[PropertyList], [TestCombo].[TargetedAmount] FROM TestCombo ORDER BY [PropertyList];
Bound Column- 2
Combobox After Update code
Private Sub txtProperties_AfterUpdate()
Me.txtTargeted = Me.txtProperties.Column(2)
End Sub
Sir IF BOUND COLUMN of Combo box is 0 or 1 the "PropertyList" was selected and goes to table but the value "Targeted" field are still blank.
IF BOUND COLUMN of Combo box is 2 and when i select the combo here is an error message "The value you entered is not valid for this field". Thanks sir i hope you can help me...
|