Hmn, I don't know if it matters a whole lot, but in your first selection string, you have single quotes ' ' around the { }=AV137, but in the sSelect variable, you don't have those.... I'm not sure it matters, but maybe sticking them around txtProgrammeNumber.text would work?
Comatose
Taboo Programmer
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215