Hello All
I had a query
strSQL = "SELECT Staff.StaffID, Staff.Lname, Staff.Fname, Staff.Address FROM Staff WHERE Staff.StaffID = " & forms![Setup]![Combo5]
that was causing the error "No given value for one or more of the required parameters" this was fixed by changing the query to
strSQL = "SELECT Staff.StaffID, Staff.Lname, Staff.Fname, Staff.Address FROM Staff WHERE Staff.StaffID = forms![Setup]![Combo5];" see thread thread705-1366808.
The problem is when the corrected database was used at another site the same error has come up. How do I configure access to accept the working sql string? I cannot make adjustments to the database and then test because the adjustments may not work at the other end. thanks in advance
I had a query
strSQL = "SELECT Staff.StaffID, Staff.Lname, Staff.Fname, Staff.Address FROM Staff WHERE Staff.StaffID = " & forms![Setup]![Combo5]
that was causing the error "No given value for one or more of the required parameters" this was fixed by changing the query to
strSQL = "SELECT Staff.StaffID, Staff.Lname, Staff.Fname, Staff.Address FROM Staff WHERE Staff.StaffID = forms![Setup]![Combo5];" see thread thread705-1366808.
The problem is when the corrected database was used at another site the same error has come up. How do I configure access to accept the working sql string? I cannot make adjustments to the database and then test because the adjustments may not work at the other end. thanks in advance