Question:
I am in desperate need of some quick help. I need to learn how to program
my authorware piece to look at the individual student folder after the login
and if the student has logged in before, to resume the file at the place
this student previously quit. I have the login in place, however, if I
modify the file to RESUME, it doesn't allow individual logins and if I
modify the file to RESTART, all students must begin at the beginning each
time. This is not practical as this is a 20-hour course. I am not very
familiar with variables and functions, so please provide as much information
as you can.
Answer:
What you need to do is change the RecordsLocation between the login file and
the course file. Change it to a specific directory for each student. When
the file resumes, it will look in the directory for the current student for
the .rec file. The name of the directory will depend on what information
you are collecting. A Social Security Number is guaranteed to be unique,
so if you're collecting that, I recommend using the last few digits.
The syntax you'd need would be:
StudentFolder := "C:\\Student Records\\"^LastFourDigits -- last four set
earlier from SSN
JumpFile("My Course", "Any variables you're passing", Student Folder)
Note: if you are not passing any variables, the second parameter cannot be
left out, but should be "".