- Joined
- Jun 11, 2004
Here's the scenario.
We have a log on/off script that logs who logs in and out on what computer at what time. I like to use that file when I need to help someone, but it's tedious to have to go to the end of the text document, control+F, change the search direction and enter the person's username.
To make searching easier, I made an access document and linked the txt file to it as a table. made a form to search for a user's last record.
Here's the problem. Once the access document is opened, the script is unable to write to the txt file. This wasn't a problem before when just opening the txt file, because the scrip was still able to write to the file and reopening the txt would show the new records.
So my question is, is it somehow possible to have the txt linked into access and have the script be able to write to the txt file while the access doc is open? Is there another solution to achieve what I'm trying to do? Is it possible to make the script add the new entry to the first line of the txt instead of the last?
Thanks
We have a log on/off script that logs who logs in and out on what computer at what time. I like to use that file when I need to help someone, but it's tedious to have to go to the end of the text document, control+F, change the search direction and enter the person's username.
To make searching easier, I made an access document and linked the txt file to it as a table. made a form to search for a user's last record.
Here's the problem. Once the access document is opened, the script is unable to write to the txt file. This wasn't a problem before when just opening the txt file, because the scrip was still able to write to the file and reopening the txt would show the new records.
So my question is, is it somehow possible to have the txt linked into access and have the script be able to write to the txt file while the access doc is open? Is there another solution to achieve what I'm trying to do? Is it possible to make the script add the new entry to the first line of the txt instead of the last?
Thanks