I have file stored on a network drive in a patient folder labeled with their ID number. The ID number is stored as an integer. How would i have VB6 use the integer data from the patient records to access the folder?
example
how do i replace the (patient id number) with the actual one pulled from another file as an integer.
example
Code:
Open "v:\(patient id number)\pageone.txt" For Input As #1
Do While Not EOF(1)
Line Input #1, LineOfText
If Mid(LineOfText, 1, 1) = "A" Then
Print #2, Mid(LineOfText, 3)
End If
Loop
Close #1