I am using XP with SQL 2k . I have a combo box on a subform that I want the rowsource to be populated by the following statement. The procedure works if I enter an ID but does not work when called by form. The code is on the mainform. Any ideas?
Private Sub Form_Current()
Forms!frmScheduleProduction!frmScheduleProductionAssembly_sub!cboID_ITEM.RowSource = _
"EXEC lkpProductionAssemblyBomWu '" & Me.ID_SCHEDULE_PRODUCTION & "'"
End Sub
Thanks,
vmon
Private Sub Form_Current()
Forms!frmScheduleProduction!frmScheduleProductionAssembly_sub!cboID_ITEM.RowSource = _
"EXEC lkpProductionAssemblyBomWu '" & Me.ID_SCHEDULE_PRODUCTION & "'"
End Sub
Thanks,
vmon