SheilaAlighieri
Technical User
Hi all,
This may sound like a silly question. But I am quite new to Access Here is my problem. I am developing an Access database for personal use at the office. I would like to do the following:
I have two tables: Budget and Invoice. I also have a form named 'Invoice Data Entry' which fills my table 'Invoice'. Since some invoices return each year I would like to add an option 'Copy invoice to budget of next year' to my 'Invoice Data Entry' form. I was personally thinking of using a check box but I have no clue of what code I should attach.
Naturally I don't want to copy all fields on the form. Just a few, which have the same name in the Budget and Invoice tables. For example: Account Code and Plan Region.
Furthermore, there is also a difference between the budget date (in the 'Budget' table) and the invoice date (in the 'Invoice' table). When I copy an invoice to the budget table, I would simply like to add one year to the invoice date to get the budget date.
I know I am terrible at explaining things If I need to clarify anything don't hesitate to contact me.
Can anyone help me with the code?
Thanks,
Sheila!
This may sound like a silly question. But I am quite new to Access Here is my problem. I am developing an Access database for personal use at the office. I would like to do the following:
I have two tables: Budget and Invoice. I also have a form named 'Invoice Data Entry' which fills my table 'Invoice'. Since some invoices return each year I would like to add an option 'Copy invoice to budget of next year' to my 'Invoice Data Entry' form. I was personally thinking of using a check box but I have no clue of what code I should attach.
Naturally I don't want to copy all fields on the form. Just a few, which have the same name in the Budget and Invoice tables. For example: Account Code and Plan Region.
Furthermore, there is also a difference between the budget date (in the 'Budget' table) and the invoice date (in the 'Invoice' table). When I copy an invoice to the budget table, I would simply like to add one year to the invoice date to get the budget date.
I know I am terrible at explaining things If I need to clarify anything don't hesitate to contact me.
Can anyone help me with the code?
Thanks,
Sheila!