Operation muss eine aktualisierbare Abfrage verwenden. (Fehler 3073) Microsoft Access

Ich habe dies geschrieben-Abfrage:

UPDATE tbl_stock1 SET 
tbl_stock1.weight1 = (
    select (b.weight1 - c.weight_in_gram) as temp 
    from
        tbl_stock1 as b,
        tbl_sales_item as c 
    where
        b.item_submodel_id = c.item_submodel_id 
        and b.item_submodel_id = tbl_stock1.item_submodel_id 
        and b.status <> 'D' 
        and c.status <> 'D'
    ), 
tbl_stock1.qty1 = (
    select (b.qty1 - c.qty) as temp1 
    from
        tbl_stock1 as b,
        tbl_sales_item as c 
    where 
        b.item_submodel_id = c.item_submodel_id 
        and b.item_submodel_id = tbl_stock1.item_submodel_id 
        and b.status <> 'D' 
        and c.status <> 'D'
    )
WHERE
    tbl_stock1.item_submodel_id = 'ISUBM/1' 
    and tbl_stock1.status <> 'D';

Habe ich diese Fehlermeldung:

Operation must use an updatable query. (Error 3073) Microsoft Access

Aber wenn ich die gleiche Abfrage in SQL Server ausgeführt werden soll.

Dank,
dinesh

InformationsquelleAutor | 2009-08-05

Schreibe einen Kommentar