Hi,
I'm creating an application that will READ and WRITE data to several data tables.
Every time I WRITE I would like to log the transaction in a history file and also update the relevant data table with a uniquely serialised entry.
Q. Where do I put this type of code, i.e. that covers the whole system?
Q. Should the variable be PUBLIC ?
I am fairly new to VB so appreciate soft answers, links, experiences, etc. S.
I'm creating an application that will READ and WRITE data to several data tables.
Every time I WRITE I would like to log the transaction in a history file and also update the relevant data table with a uniquely serialised entry.
VB.NET:
'set the start point of the serial number
Dim serialnumber As Integer "1000000000"
'then do some stuff, take the serial number (e.g. 10000000000),
'update my data table and history log file
serialnumber += 1
Q. Where do I put this type of code, i.e. that covers the whole system?
Q. Should the variable be PUBLIC ?
I am fairly new to VB so appreciate soft answers, links, experiences, etc. S.