MS Access
Sponsored Links
The objective of this function is to generate invoice number in a specified serial format.
Commonly Invoice Number is stored as number in the database. While printing Invoice, It is offen required to print invoice numbers in specified format as per customer's requirement. Most of them would like to have invoice number printed in formats which has 000 as prefix along with financial year and suffix.This function is usefull in such cases.
Generate_Inv_No Function takes in 2 arguments, Invoice Number and Invoice Date and gives the out put in the format Inv / 0001 / 07-08
Generate_Inv_No = "Inv / " & right("0000" & Xno & " / " format(XDate,"MM-YY")