So this is really simple,
I have an Access Table called "BDAXA", where there are many records, and a column called "Date".
I use an imput box called (DAT) where I ask the user an especific month to generate a query in a format "mmyyyy", so lets say the user writes 022010, then DAT = 022010,
I need to know how can I use that variable (DAT) in the sql languaje
Expand|Select|Wrap|Line Numbers
- strsql = SELECT BDAXA.Fecha
- FROM BDAXA
- WHERE (((BDAXA.Date)=DAT));