Good Day All.
I have a table "Invoices" with a field "ID", which I want to open and find the last number in the "ID" field.
This is my code:
can anyone assist?HTML Code:Function CreateInvoice(OrderID As Long, Amt As Currency, InvoiceID As Long, OrigAmt As Currency _ , Vat As Currency, Reference As String, Deposit As Currency) As Boolean Dim rsw As New RecordsetWrapper rsw.OpenRecordset ("Invoices") MsgBox rsw.[ID] End Function