08-15-2005, 07:27 PM
ok...I appreciate everyone's response to my lasy posting...and that would have worked, except it turns out it's slightly more complicated than I made it out to be. Here's what I have tried, followed by what I actually need the code to accomplish:
INPUT âEnter the device serial number: â, serialnum
LET DEVICE$ = serialnum
OPEN "DEVICE$" FOR INPUT AS #1
What I am TRYING to acccomplish, with absolutely no success, is to prompt the user to enter a device serial number, which becomes the filename of the file I want to create and write data to. So let's say I have 40 samples and I'm currrently looking at number 37. I prompt the user to enter the device serial number, they enter 37 and a file whose name is 37 is created and opened for data entry. IS this possible?
INPUT âEnter the device serial number: â, serialnum
LET DEVICE$ = serialnum
OPEN "DEVICE$" FOR INPUT AS #1
What I am TRYING to acccomplish, with absolutely no success, is to prompt the user to enter a device serial number, which becomes the filename of the file I want to create and write data to. So let's say I have 40 samples and I'm currrently looking at number 37. I prompt the user to enter the device serial number, they enter 37 and a file whose name is 37 is created and opened for data entry. IS this possible?