View Full Version : Autofilling a table with recieved data
08-16-2007, 04:40 PM
I'm creating CBT using a package called Infopak. Its set up to send test scores at the end of the course. An example of the info it sends is here..
LessonName=DB001 How to Drink Beer
I'm supposed to create an ASP page on the web server to receive the output for subsequent storage and reporting in MS Excel.
Can anyone please point me to a script which I could use to do this?
08-16-2007, 09:36 PM
How does the CBT program "send" you the test scores? In an email, CSV file?
Knowing how it sends you the data is key to answering your question.
As to taking the data and sending it to MS Excel, why not send it to a database and then just use ASP to display said data on screen?
08-17-2007, 01:28 PM
I came across this js file called scormfunctions. Does this answer your question?
** used by the Sample SCOs contained in the Sample Course.
** These functions encapsulate actions that are taken when the
** user navigates between SCOs, or exits the Lesson.
// score: String
function sendScore(lessonName, studentName, totalSteps, incorrectSteps, score, status, listOfIncorrectSteps)
if (!hasLMS) return;
if (status=="true" )
// doLMSSetValue("cmi.core.exit", "");
08-17-2007, 03:07 PM
Can you look through that code to find what doLMSSetValue does?
Currently, it looks as though it just fills in form fields.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.