grupyville
New member
- Local time
- Today, 15:55
- Joined
- Jul 3, 2010
- Messages
- 7
Im a newbie when it comes to programming but have been using Google and as a result have been lurking on these boards, without an account, until today. Im stuck and figured this would be the best place to ask for help.
I used the Northwind database that accompanies Access as a platform and adjusted the project to meet my needs. I deleted all the data that was in the database and restructured the tables and forms.
I'm stuck at the creating an invoice portion.
I have a master form ORDERS and child form ORDERS DETAIL that are linked by ORDERS ID. When this form is loaded a table-making query runs that selects basically all the data (sale date, product, cost, additional cost etc) involved. This essentially captures all sales into a table called InvoiceData.
On the ORDERS form, I have two unbound combo boxes. One simply selects the billing company information and puts its data into corresponding text boxes. The other selects the Customer and at the same time, it launches a query that filters the data in InvoiceData table to display only the sales for that particular customer.
Once this is done, I have two text boxes that basically re-filter the data in InvoiceData table so only sales within a 2 week period are displayed or whatever dates the user enters.
Within the form the ORDERS DETAILS subform remains empty. I have created the subform based upon the InvoiceData table.
I really dont know what Im doing wrong as the three queries run accordingly outside of the forms, so I know my query filters work properly as InvoiceData ends up containing the proper data but on the form itself, I cant get it do change or display after each query runs.
I may not be using proper programming structure but Im basically trying to help my dad save a ton of time from doing paper work by using a program.
I would be more than happy to attach the file, as Im sure there might be a bunch of other errors on the invoice portion but I would greatly appreciate any insight on how I can basically get the subform to show the data accordingly and change itself whenever a query is being executed.
Thanks for anyone that takes the time to help!
I used the Northwind database that accompanies Access as a platform and adjusted the project to meet my needs. I deleted all the data that was in the database and restructured the tables and forms.
I'm stuck at the creating an invoice portion.
I have a master form ORDERS and child form ORDERS DETAIL that are linked by ORDERS ID. When this form is loaded a table-making query runs that selects basically all the data (sale date, product, cost, additional cost etc) involved. This essentially captures all sales into a table called InvoiceData.
On the ORDERS form, I have two unbound combo boxes. One simply selects the billing company information and puts its data into corresponding text boxes. The other selects the Customer and at the same time, it launches a query that filters the data in InvoiceData table to display only the sales for that particular customer.
Once this is done, I have two text boxes that basically re-filter the data in InvoiceData table so only sales within a 2 week period are displayed or whatever dates the user enters.
Within the form the ORDERS DETAILS subform remains empty. I have created the subform based upon the InvoiceData table.
I really dont know what Im doing wrong as the three queries run accordingly outside of the forms, so I know my query filters work properly as InvoiceData ends up containing the proper data but on the form itself, I cant get it do change or display after each query runs.
I may not be using proper programming structure but Im basically trying to help my dad save a ton of time from doing paper work by using a program.
I would be more than happy to attach the file, as Im sure there might be a bunch of other errors on the invoice portion but I would greatly appreciate any insight on how I can basically get the subform to show the data accordingly and change itself whenever a query is being executed.
Thanks for anyone that takes the time to help!