Question : Error 3061

Experts,

I'm getting 'Error 3061'. I can't figure out how to set up the SQL properly.

txtCycleSelect is formatted as a general number


Thank you,
James
1:
Set rst = CurrentDb.OpenRecordset("SELECT tlkpDay.* FROM tlkpDay WHERE (((tlkpDay.DayID)=[Forms]![frmMenu_MAIN]![txtCycleSelect]));")

Answer : Error 3061

Have a look at the following:

http://www.mvps.org/access/queries/qry0013.htm

Gary
Random Solutions  
 
programming4us programming4us