Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

DoCmdRunSQL vs DoCmdOpenQuery

$
0
0
Simple question: which one of these is more efficient, do you think?

Code:

DoCmd[dot]RunSQL("DELETE * FROM tblCustomers")
Or

Code:

DoCmd.OpenQuery "qryDelCustomers", acViewNormal, acEdit

...any thoughts? :angel:

Also, I just...typed in [dot] there because dbForums kept bleeping out my text for some reason .

Viewing all articles
Browse latest Browse all 13329

Trending Articles