C
CristianTCDM
Hello ,
I am trying to obtain a recordset for every value in a certain field and I
used the following lines of code :
For i = 1 To intINDmax
intI = i
Set rstQ = dbs.OpenRecordset("SELECT * FROM MedConcat WHERE [IDindrp] =
intI ")
....
Next i
I got the message : too few parameters . expected 1
Is it the syntax ? Should I parametrise in other way ?
Thanks for any suggestion .
I am trying to obtain a recordset for every value in a certain field and I
used the following lines of code :
For i = 1 To intINDmax
intI = i
Set rstQ = dbs.OpenRecordset("SELECT * FROM MedConcat WHERE [IDindrp] =
intI ")
....
Next i
I got the message : too few parameters . expected 1
Is it the syntax ? Should I parametrise in other way ?
Thanks for any suggestion .