i need help stepping through a table

  • Thread starter Thread starter bhs8227
  • Start date Start date
B

bhs8227

Im new to this hopefully someone out there can help me out. OK here
is what i want to do. I have a form that has a picture of a map and
on that map are people represented by images. i also have different
locations on the map defined. So now to the part im having problem
with. I want code to follow a script that i have in a table.
Depending on what script number is entered it will start at the first
line of that script and the people will move accordingly. here are
the fields in my table. scriptnumber (the script number i want to
step through), time (when to move each person), Person1, person2,
person3, person4, person5, location (where to move the persons
checked). Depending on which persons are checked depends on if they
move on that line in the table. does any one have any ideas how to
do this or a better way.

thanks
Brian
 
Why don't you try having seperate functions.

Depending on the action, a different function can be
called. You could store a variable in the table that the
function uses.

I hope that helps.

Brad
 
Back
Top