Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

return a page with the recordset incremented by 1

Status
Not open for further replies.

martakeithy

Technical User
Nov 12, 2001
19
GB
Hi,
I wonder if anyone could help me. I am developing an online quiz using Ultradev. I have a quiz page which dynamically displays a question and 4 possible answers; this data comes from a table named QuestionTable.
On the same page is an insert form, which inserts ticky boxes containing the choice of the person taking the quiz, ie if they think answer 'a' is correct then they tick the box to the right of the answer and then submit their choice. THis inserts their choice into another table called AnswerTable.
At the moment the questions are displayed a question to a page with a submit button and navigation between each record/page.
What I would like is to ditch the navigation and have the user answer the question by ticking a box and then using the submit button to insert it into the answer table.
Then, instead of navigating to the next record, I would like to have the same quiz page reappearing with the NEXT question/record in the recordset.
OR go to a confirmation page with a link back to the quiz page, which would be displaying the next question.
Ultradev must have written a record counter onto the page, but I can't find it.
In a nutshell I want to increment the record count, on insertion, to show the next question.
Can anyone help.
Thank you for reading this.
Regards
Marta
 
Check out this thread, my fifth post. You can play then with the currentpage variable.

thread333-249800

Good luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top