I have paramater based querys that i need to able to use through vba as a DAO SQL recordset and am searching for a way to do this without having to re-code each time.
I have looked at the querydef object, and it does not seem suitable.
Has anyone developed any code to do this conversion (although thinking it through, if there are multiple paramaters, and or string or integers, it makes things kinda complex?)
Is it any easier with ADO?
Any help would be appreciated.
Andrew
I have looked at the querydef object, and it does not seem suitable.
Has anyone developed any code to do this conversion (although thinking it through, if there are multiple paramaters, and or string or integers, it makes things kinda complex?)
Is it any easier with ADO?
Any help would be appreciated.
Andrew