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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Does this work?

Status
Not open for further replies.

Raptor136

Technical User
Aug 26, 2002
39
US
Hi, I am getting a VBA syntax error on this line. Any ideas why. Please be nice I am a learn as I go kind of guy. :) TIA -- Rap

DoCmd.RunSQL CREATE INDEX PrimaryKey ON ROOTCOPY (ero) WITH PRIMARY UPDATE DISTINCTROW root000 LEFT JOIN rootcopy ON root000.ero = rootcopy.ero SET root000.remarks = [rootcopy].[remarks]
raptor136@adelphia.net
 
DoCmd.RunSQL "CREATE INDEX PrimaryKey ON ROOTCOPY (ero) WITH PRIMARY UPDATE DISTINCTROW root000 LEFT JOIN rootcopy ON root000.ero = rootcopy.ero SET root000.remarks =" & [rootcopy].[remarks]
Herman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top