Group: alt.comp.freeware.games · Group Profile · Search for Citybuilding in alt.comp.freeware.games
Author: Droomvinex
Date: Jun 28, 2007 20:03
I would not bother to create a querydef. You are building the SQL dynamically, so you could use the Currentdb.Execute method. It is faster, anyway. Add the terminating semicolon to this line: sql = sql + ", '" + ![Address 1] + "' ); " Then Currentdb.Execute sql, dbFailOnError But, I would also use a name other the sql as it is an Access reserved word. I typically
|