General information
Category:
Coding, syntax & commands
Title:
Class with private data session
I have a licensing class that I created that runs on a timer. It adds a record to a table when people sign in and updates a time stamp on a specified interval so I can know how long they have been in the program. It works good with 1 exception.
Periodically the timer fires that updates the record and the selected alias changes. It then causes problems in certain modules that happen to be open. In the timer code i always set the alias back to what it was when going into the code but I guess something with the sequencing causes problems with it.
Putting the timer in a private data session would do the trick. I created a classed form and put my timer on it. Set datasession to private and set buffering to 5 for the table in question. It works ok. No more alias getting changed but now I can't access those records from other machines because it says the records are in use by another user.
Does anyone know how to get those records accessable again. I use them to send messages to specific machines as well as other uses.
Thanks in advance.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only