Hi,
I'm kinda new to VBA and I'm not quite sure where(or how) i should go to fix an error.
I'm running code that dims a variable as a "QueryDef":
Dim qdfDynamic As QueryDef
and then equals the variable to the query approveddate:
qdfDynamic = CurrentDB.QueryDefs ("ApprovedDate"
it told me that the user-defined type was not defined, so i read around and i know i have to declare it in public, or something to that effect.
My question is, what, where and how do i set it????
I hope i explained this correctly,
Any and all help would be appreciated
Thank You
Omar Qureshy
DSC Networks
I'm kinda new to VBA and I'm not quite sure where(or how) i should go to fix an error.
I'm running code that dims a variable as a "QueryDef":
Dim qdfDynamic As QueryDef
and then equals the variable to the query approveddate:
qdfDynamic = CurrentDB.QueryDefs ("ApprovedDate"
it told me that the user-defined type was not defined, so i read around and i know i have to declare it in public, or something to that effect.
My question is, what, where and how do i set it????
I hope i explained this correctly,
Any and all help would be appreciated
Thank You
Omar Qureshy
DSC Networks