F
Freida
I am using access as a front end with sql tables. I want to know how I can
write a query that does a cascading delete since I cannot create a parent
child relationship in access b/c of the sql tables. Here is an my
scenerio,
I am doing a budget, less just say I screwed up the year and I want to start
all over again. I want to delete data from the following tables:
Budget- budget ID(which is the year), budget start date, end date,
description
Budget Accounts- budget ID, Account #(GL code), company, Budget
amount(for the GL in )each company
Budget Accounts detail- budget ID, Month, company, Account#, monthly
budget amount
I want a query that asks me for a budget year(Which is Budget ID) to delete,
and if I type in "2012" it will delete every record in all three tables
that has the budget year associated with it.
write a query that does a cascading delete since I cannot create a parent
child relationship in access b/c of the sql tables. Here is an my
scenerio,
I am doing a budget, less just say I screwed up the year and I want to start
all over again. I want to delete data from the following tables:
Budget- budget ID(which is the year), budget start date, end date,
description
Budget Accounts- budget ID, Account #(GL code), company, Budget
amount(for the GL in )each company
Budget Accounts detail- budget ID, Month, company, Account#, monthly
budget amount
I want a query that asks me for a budget year(Which is Budget ID) to delete,
and if I type in "2012" it will delete every record in all three tables
that has the budget year associated with it.