Get last record from table and add value - Visual Basic RRS feed

  • General discussion

  • Today im looking for information on how to in the title, and knows how to do it in C #, but VB, not exactly, in the end I found the solution. I live this here for memory
    Dim RecCount As String
                RecCount = Me.DataWorkspace.ApplicationData.Invoices.GetQuery().Execute().LastOrDefault.ToString()
                NoInvoice = RecCount + 1


    Saturday, October 11, 2014 12:11 AM