i'm working on a course booking system using access which is heavily coded using vb however I have stumbled onto something that a few eyes maybe able to put a bit of focus on.
creating new course dates that follow a repetition:
I have a form with a couple of combo boxes a list box and a calendar control, the user is asked what day to repeat the course on, and using a list box they can add what times to start the course (so we can have courses starting at 0900, 1100, 1300 and 1500: every monday (mainly)), then the user is asked to select how long (in weeks) to run the repetition for. finally the calendar is used to determine when to run the repetition from so it could run for mondays at 0900 for 6 weeks starting from march 2009.
now my query is this I can set up and have all my data/information to be able to send into a form however I was planning on coding that action is there a way to assign variables in the addnewrecord state so that I can make a loop statement or would i have to actually assign these variables to fields in a form and then record them into the table?
any help would be greatly appreciated.
creating new course dates that follow a repetition:
I have a form with a couple of combo boxes a list box and a calendar control, the user is asked what day to repeat the course on, and using a list box they can add what times to start the course (so we can have courses starting at 0900, 1100, 1300 and 1500: every monday (mainly)), then the user is asked to select how long (in weeks) to run the repetition for. finally the calendar is used to determine when to run the repetition from so it could run for mondays at 0900 for 6 weeks starting from march 2009.
now my query is this I can set up and have all my data/information to be able to send into a form however I was planning on coding that action is there a way to assign variables in the addnewrecord state so that I can make a loop statement or would i have to actually assign these variables to fields in a form and then record them into the table?
any help would be greatly appreciated.