O
Onno
Hi, I have a VB.NET app that writes 'usage logging' to an Access DB
via OleDb. There are applications all over the plant that log to the
same DB, so we can have a bit of insight in how the application is
being used. Some logged actions are a single entry ("user did this or
that"), others actions belong together ("user started action x" /
"user ended action x"). Not all start actions that should have a stop
action do so; user can abort, app can terminate, network can fail,
etc.
Right now, I am having a bit of trouble finding out which start/end
actions belong together. I do this on other parameters (IP address,
user name, etc) that I also log. It works, but is cumbersome.
A better way would be to give a 'transaction' ID to each action
logged, and let the app remember this and use the same transaction ID
for the end call. I could use an empty table with an auto-increment
field to generate unique transaction ID's.
Is this the preferred way? Does Access or VB.NET offer some methods
for this or do I have to implement it myself?
Thanks in advance,
Onno
via OleDb. There are applications all over the plant that log to the
same DB, so we can have a bit of insight in how the application is
being used. Some logged actions are a single entry ("user did this or
that"), others actions belong together ("user started action x" /
"user ended action x"). Not all start actions that should have a stop
action do so; user can abort, app can terminate, network can fail,
etc.
Right now, I am having a bit of trouble finding out which start/end
actions belong together. I do this on other parameters (IP address,
user name, etc) that I also log. It works, but is cumbersome.
A better way would be to give a 'transaction' ID to each action
logged, and let the app remember this and use the same transaction ID
for the end call. I could use an empty table with an auto-increment
field to generate unique transaction ID's.
Is this the preferred way? Does Access or VB.NET offer some methods
for this or do I have to implement it myself?
Thanks in advance,
Onno