Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

docmd.runsql syntax

Status
Not open for further replies.

waterj4

MIS
Joined
Sep 14, 2005
Messages
3
Location
US
I'm going over some old code that someone else wrote
Code:
DoCmd.RunSQL "UPDATE tblAssetRecon_Exceptions SET LegalEntity = 0 WHERE LegalEntity Is Null;", -1

What does the -1 do?
 
Its a boolean True value for the UseTransaction named parameter.
BTW, no F1 key on your keyboard ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top