Viewing 6 posts - 1 through 6 (of 6 total)
Thanks! I got it worked out now. I agree, it's a pain the way I was trying to do this.
Don
August 27, 2007 at 9:40 am
I right-click on the Table1 and select "Open table" and then click the SQL button in the toolbar. I modify the query and check syntax and it rewrites my query...
August 27, 2007 at 8:42 am
This was an accidental post. See other post with same name. I could not find a delete to remove this one.
Don
August 27, 2007 at 8:36 am
When I try the format by Matt Miller and check syntax the query gets rewritten as follows:
UPDATE t1
SET t1.<field1> = t2.<field2>
FROM <Table1> AS t1 INNER JOIN
<Table2> AS t2 ON t1.<FKField> = t2.<PKField> CROSS...
August 27, 2007 at 8:33 am
I tried that and every record I was updating had exactly the same value. It's like it's trying to do a cross join somehow.
Don
August 27, 2007 at 8:07 am
The Where statement is based on the Primary key <PKField> and a Foreign key <FKField> combination so there can only be ONE value returned in the sub-select.
I don't understand why the 2005 version...
August 27, 2007 at 7:45 am
Viewing 6 posts - 1 through 6 (of 6 total)