I am making POS Software and I need to give each transaction form and unique id
Private Sub CmdSaleToClient_Click()
Dim frm As New frmSaleToClient
Transcode = Transcode + 1
frm.Caption = Transcode
But it does not work when you get to the main bill screen
The problem is if you open say 5 transactions it opens five form each with a different transaction ID but if I go to transaction form 1 and go to the main bill screen the transaction id changes to 5.