Hi,
i am trying to insert into a table, at run time useing a form. i am using the following line:
strSQL = "INSERT INTO [tblRequestRespo nse]([Request ID], [Service Offered], [Service Provider], [ServiceName], [Description], [CostPerHour]) " & _
"VALUES (froms![frmServiceProvi derInfo].[lstRequest.colu mn(0)], Forms![sbfrmServices].[ServiceID], Forms![frmServiceProvi derInfo].[tblMembers_User Name], Forms![sbfrmServices].[ServiceName], Forms![sbfrmServices].[Description], Forms![sbfrmServices].[CostPerHour]);"
DoCmd.RunSQL strSQL
This is not working, and i get an eror message saying undefined function froms![frmServiceProvi derInfo].[lstRequest.colu mn(0)].
Does anyone know what the problem is.
ps. i am there is a list there, and weneva a product is doubleclicked, this should happen (insert into a table)
i am trying to insert into a table, at run time useing a form. i am using the following line:
strSQL = "INSERT INTO [tblRequestRespo nse]([Request ID], [Service Offered], [Service Provider], [ServiceName], [Description], [CostPerHour]) " & _
"VALUES (froms![frmServiceProvi derInfo].[lstRequest.colu mn(0)], Forms![sbfrmServices].[ServiceID], Forms![frmServiceProvi derInfo].[tblMembers_User Name], Forms![sbfrmServices].[ServiceName], Forms![sbfrmServices].[Description], Forms![sbfrmServices].[CostPerHour]);"
DoCmd.RunSQL strSQL
This is not working, and i get an eror message saying undefined function froms![frmServiceProvi derInfo].[lstRequest.colu mn(0)].
Does anyone know what the problem is.
ps. i am there is a list there, and weneva a product is doubleclicked, this should happen (insert into a table)
Comment