Hi,
I can use this:
Set rst = CurrentDb.OpenRecordset("mytable", dbOpenDynaset)
and manipulate records within 'mytable' no problem.
How can I say:
Set rst = CurrentDb.OpenRecordset(mySQLString, dbOpenDynaset)
and do the same?
i.e. How can I set rst to = a SQL query result (from current db). I'm going to have to do this via a hidden form - which I don't want to do 'cos it's really naff.
p.s. I've already posted a problem regarding defining as 'database' (Access 2000) so I can't use: 'dim db as database' at this moment - lol.
All help appreciated.
Regards,
Darrylle
"Never argue with an idiot, he'll bring you down to his level - then beat you with experience." darrylles@totalise.co.uk
I can use this:
Set rst = CurrentDb.OpenRecordset("mytable", dbOpenDynaset)
and manipulate records within 'mytable' no problem.
How can I say:
Set rst = CurrentDb.OpenRecordset(mySQLString, dbOpenDynaset)
and do the same?
i.e. How can I set rst to = a SQL query result (from current db). I'm going to have to do this via a hidden form - which I don't want to do 'cos it's really naff.
p.s. I've already posted a problem regarding defining as 'database' (Access 2000) so I can't use: 'dim db as database' at this moment - lol.
All help appreciated.
Regards,
Darrylle
"Never argue with an idiot, he'll bring you down to his level - then beat you with experience." darrylles@totalise.co.uk