M
Molasses26
I have a form that uses a query linking 4 tables as it's data source. We are
trying to convert all of our data tables to an SQL server and now my form
won't allow me to edit the records any more. If I remove the reference to
the ISBillingData.Status and ISStatusOptions.StatusDescr fields and their
associated tables then the query becomes updatable again. Unfortunately I
NEED those two fields in the form.
The fields that I actually need to edit are Assignment.Comment and
Assignment.Complete.
I have tried various different Join methods and nothing seems to work.
The Redordset type is set to "Dynaset (Inconsistent Updates)"
I appreciate any help you might be able to give me!
----------------------------------------------------------
SELECT dbo_bs_billing_excp.qitm_num, dbo_bs_billing_excp.excp_cret_dt,
dbo_bs_billing_excp.excp_num, dbo_bs_billing_excp.ca_id,
dbo_bs_billing_excp.saa_id, dbo_bs_billing_excp.site_id,
dbo_bs_billing_excp.bill_cycle, dbo_bs_billing_excp.order_dt,
dbo_bs_billing_excp.order_type, dbo_bs_billing_excp.order_status,
dbo_bs_billing_excp.redirect_dt,
IIf([redirect_type]="I","IS",IIf([redirect_type]="c","Sr","")) AS RedirTo,
Assignment.Comment, Assignment.Complete, Assignment.user_id,
Assignment.RepName, dbo_bs_billing_excp.ebill, dbo_bs_billing_excp.que_desc,
Assignment.PullBill, Assignment.RedirOpt, Assignment.kwRefund,
Assignment.RedirID, ISBillingData.Status, ISStatusOptions.StatusDescr,
dbo_bs_billing_excp.resolved_dt, Trim([rate]) AS SvcPln,
dbo_bs_billing_excp.pullbill_dt, dbo_bs_billing_excp.pullbill_id,
dbo_bs_billing_excp.pullbill_rsn
FROM ((Assignment LEFT JOIN dbo_bs_billing_excp ON (Assignment.cret_dt =
dbo_bs_billing_excp.excp_cret_dt) AND (Assignment.qitm_num =
dbo_bs_billing_excp.qitm_num)) LEFT JOIN ISBillingData ON
(Assignment.qitm_num = ISBillingData.qitm_num) AND (Assignment.cret_dt =
ISBillingData.cret_dt)) LEFT JOIN ISStatusOptions ON ISBillingData.Status =
ISStatusOptions.StatusID
WHERE (((dbo_bs_billing_excp.resolved_dt) Is Null)) OR
(((ISBillingData.Status)<7) AND ((dbo_bs_billing_excp.resolved_dt) Is Not
Null))
ORDER BY dbo_bs_billing_excp.excp_cret_dt, dbo_bs_billing_excp.excp_num,
dbo_bs_billing_excp.site_id;
trying to convert all of our data tables to an SQL server and now my form
won't allow me to edit the records any more. If I remove the reference to
the ISBillingData.Status and ISStatusOptions.StatusDescr fields and their
associated tables then the query becomes updatable again. Unfortunately I
NEED those two fields in the form.
The fields that I actually need to edit are Assignment.Comment and
Assignment.Complete.
I have tried various different Join methods and nothing seems to work.
The Redordset type is set to "Dynaset (Inconsistent Updates)"
I appreciate any help you might be able to give me!
----------------------------------------------------------
SELECT dbo_bs_billing_excp.qitm_num, dbo_bs_billing_excp.excp_cret_dt,
dbo_bs_billing_excp.excp_num, dbo_bs_billing_excp.ca_id,
dbo_bs_billing_excp.saa_id, dbo_bs_billing_excp.site_id,
dbo_bs_billing_excp.bill_cycle, dbo_bs_billing_excp.order_dt,
dbo_bs_billing_excp.order_type, dbo_bs_billing_excp.order_status,
dbo_bs_billing_excp.redirect_dt,
IIf([redirect_type]="I","IS",IIf([redirect_type]="c","Sr","")) AS RedirTo,
Assignment.Comment, Assignment.Complete, Assignment.user_id,
Assignment.RepName, dbo_bs_billing_excp.ebill, dbo_bs_billing_excp.que_desc,
Assignment.PullBill, Assignment.RedirOpt, Assignment.kwRefund,
Assignment.RedirID, ISBillingData.Status, ISStatusOptions.StatusDescr,
dbo_bs_billing_excp.resolved_dt, Trim([rate]) AS SvcPln,
dbo_bs_billing_excp.pullbill_dt, dbo_bs_billing_excp.pullbill_id,
dbo_bs_billing_excp.pullbill_rsn
FROM ((Assignment LEFT JOIN dbo_bs_billing_excp ON (Assignment.cret_dt =
dbo_bs_billing_excp.excp_cret_dt) AND (Assignment.qitm_num =
dbo_bs_billing_excp.qitm_num)) LEFT JOIN ISBillingData ON
(Assignment.qitm_num = ISBillingData.qitm_num) AND (Assignment.cret_dt =
ISBillingData.cret_dt)) LEFT JOIN ISStatusOptions ON ISBillingData.Status =
ISStatusOptions.StatusID
WHERE (((dbo_bs_billing_excp.resolved_dt) Is Null)) OR
(((ISBillingData.Status)<7) AND ((dbo_bs_billing_excp.resolved_dt) Is Not
Null))
ORDER BY dbo_bs_billing_excp.excp_cret_dt, dbo_bs_billing_excp.excp_num,
dbo_bs_billing_excp.site_id;