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

update query

Status
Not open for further replies.

amillia

Programmer
Nov 14, 2001
124
US
do you guys see any obvious problems with this query.

UPDATE tbl_INSPECTIONS, Query3 INNER JOIN Query4 ON (Query3.PARA3 = Query4.TASK_NO1) AND (Query3.CARD1 = Query4.CARD_NO1) SET Query4.REQ_ID = tbl_INSPECTIONS.REC_ID;


 
The resulting query must be updatable. If it's not, you won't succeed.

In your query, looks like you have a cartesian product between tbl_INSPECTIONS and Query3, which results in an non-updatable set.

HTH

[pipe]
Daniel Vlas
Systems Consultant

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top