I need to permit to approx 1.200 users, to print info in txt, stored in a server dir (the txt file and dir on server have complete permission and i grant to Everyone, write, modifiy, ecc..)
my idea....
open txt from dir with:
is a good idea or exists another way?
Why? because i know Access and ADO permit 20/25 connection simultanius, in this case the users fill the txt withiout prob....
my idea....
open txt from dir with:
Code:
...
Close #F
Open "\\ro58\work$\FSR\Gest\DATABASE\USERS.txt" For Append As #F
Do While Not WS.Range("A" & RIGA).Value = ""
Print #F, "ATTO" & vbTab & VBA.Environ("USERNAME") & vbTab & VBA.Environ("COMPUTERNAME") & vbTab & Format(Now(), "DD/MM/YYYY") & vbTab & WS.Range("A" & RIGA).Value & vbTab & Trim(WS.Range("B" & RIGA).Value) & vbTab & WS.Range("C" & RIGA).Value & vbTab & WS.Range("D" & RIGA).Value & vbTab & Trim(WS.Range("E" & RIGA).Value) & vbTab & WS.Range("F" & RIGA).Value & vbTab & WS.Range("G" & RIGA).Value & vbTab & ORA & vbTab & "SI"
RIGA = RIGA + 1
Loop
Close #F
....
Why? because i know Access and ADO permit 20/25 connection simultanius, in this case the users fill the txt withiout prob....