How to change querydef sql programmatically in MS Access
Posted
by asksuperuser
on Stack Overflow
See other posts from Stack Overflow
or by asksuperuser
Published on 2010-05-09T14:41:53Z
Indexed on
2010/05/09
14:48 UTC
Read the original article
Hit count: 187
ms-access
I have done
Dim qd as querydef
set qd = Querydefs("MyQuery")
set qd.sql = "..."
In debug qd.sql has been updated but the physical MyQuery still contains the old sql.
How to update this physical query ?
© Stack Overflow or respective owner