I am updating an app written a few years ago and need a bit of advice regarding selecting a record for a report. The record is an invoice and the original function displayed a browse window with all the invoices listed in invoice number order and set to the bottom of the table. The operator selected the required invoice record and hit ESC. This called a report form which was the formatted invoice and the full invoice was displayed in preview mode. If all was well, the operator selected 'print' and a pretty invoice was ejected from his printer.
This has worked for years without any problem at all, until now that is. It is not so much a problem that has been introduced as a new line of business. Some of his new products are exempt from VAT so a second type of invoice is now required. The problem I have is how to test which type of invoice is required.
There are 3 main tables involved here.
Customers:-
customers names and addresses etc.
Invoices:-
The actual invoice details
Services:-
Services offered - some are vat exempt some are not.
There is a field (VT) which contains 'V' if vatable and 'N' or nothing if not.
Do I set up a query to get this information or is there a better method. All I need to know is whether the whole invoice contains any non vat items.
Could you please give me some pointers in the right direction. I am looking for the strategy, not the actual code.
Thanks
Keith
This has worked for years without any problem at all, until now that is. It is not so much a problem that has been introduced as a new line of business. Some of his new products are exempt from VAT so a second type of invoice is now required. The problem I have is how to test which type of invoice is required.
There are 3 main tables involved here.
Customers:-
customers names and addresses etc.
Invoices:-
The actual invoice details
Services:-
Services offered - some are vat exempt some are not.
There is a field (VT) which contains 'V' if vatable and 'N' or nothing if not.
Do I set up a query to get this information or is there a better method. All I need to know is whether the whole invoice contains any non vat items.
Could you please give me some pointers in the right direction. I am looking for the strategy, not the actual code.
Thanks
Keith