Hi All
I am new to access and don’t really know what I am doing with the queries.
I thought I had sussed it after 3days of hardcore googleing but I havent :-(
I have attached my database.
Basically I would like all our stock records from our current system (Lakeview) in an Access database so we can search out products easier, Lakeview only has a field for a general description and I would like to search against more technical information which will be different for certain product types.
In the database the table (tbl_MST_LakviewStockList) which will have 10000+ records is what will be exported from our current system.
I have then created queries filtering out the information I would like from the list.
I turned the queries into tables and added extra fields for the purpose of searching and linking data sheets and drawings.
I will need to run the report from Lakeview on demand and update the access database by Adding new records, Changing existing, and Deleting old records.
If it is a change then I don’t want any of the additional related data removed.
So I changed a record, Added a record, and Deleted a record from the tbl_MST_LakeviewStockList
My problem is building a query that will Add, Change and Delete.
I thought I had sussed it following a tutorial and I have to a degree as the queries return the Added, Changed and Deleted records from the comparison I have done. These are called qryCompADD_..... and qryCompDEL_........
I then created queries based on those queries and turned them into Append and Delete queries.
When I run the queries I get errors :-(
Could someone kindly have a look and tell me where I am going wrong.
Thank you
Chris.
I am new to access and don’t really know what I am doing with the queries.
I thought I had sussed it after 3days of hardcore googleing but I havent :-(
I have attached my database.
Basically I would like all our stock records from our current system (Lakeview) in an Access database so we can search out products easier, Lakeview only has a field for a general description and I would like to search against more technical information which will be different for certain product types.
In the database the table (tbl_MST_LakviewStockList) which will have 10000+ records is what will be exported from our current system.
I have then created queries filtering out the information I would like from the list.
I turned the queries into tables and added extra fields for the purpose of searching and linking data sheets and drawings.
I will need to run the report from Lakeview on demand and update the access database by Adding new records, Changing existing, and Deleting old records.
If it is a change then I don’t want any of the additional related data removed.
So I changed a record, Added a record, and Deleted a record from the tbl_MST_LakeviewStockList
My problem is building a query that will Add, Change and Delete.
I thought I had sussed it following a tutorial and I have to a degree as the queries return the Added, Changed and Deleted records from the comparison I have done. These are called qryCompADD_..... and qryCompDEL_........
I then created queries based on those queries and turned them into Append and Delete queries.
When I run the queries I get errors :-(
Could someone kindly have a look and tell me where I am going wrong.
Thank you
Chris.