J
jb33
say, I'm getting into this access project from a
php/mySQL background so I'm banging my head over simple
things I can't figure out how to do. wondering if you
could help me out on this one.
I've got a form/sub-form set up as jobs/status. Every job
is made up of 20 phases (a third table) for which I am
reporting status.
Jobs
1....phase.....phase status,
....
20...phase.....phase status,
so, when I create a new job - or optionally press a
button, I'd like to run a script to add 20 status
records, each populated with a different phase from the
phases table.
By default, only one blank status record is present so
you have to add 20 records in the some form and select
all the proper phases before you can get going.
In case the phase table changes, I'd like to first
populate an array with items from the phase table. Then,
for each item in the phase array build a status record
with the phase_id from this array element, and the
appropriate job_id.
I think I launch an event and do all this in VBscript but
I'm not real clear on - well vbScript and how its gonna
interact with the Access data here.
Any pointers would be much appreciated. Probably the
first point is I ought to be asking this in a VBscript
forum, eh?
tia,jb
php/mySQL background so I'm banging my head over simple
things I can't figure out how to do. wondering if you
could help me out on this one.
I've got a form/sub-form set up as jobs/status. Every job
is made up of 20 phases (a third table) for which I am
reporting status.
Jobs
1....phase.....phase status,
....
20...phase.....phase status,
so, when I create a new job - or optionally press a
button, I'd like to run a script to add 20 status
records, each populated with a different phase from the
phases table.
By default, only one blank status record is present so
you have to add 20 records in the some form and select
all the proper phases before you can get going.
In case the phase table changes, I'd like to first
populate an array with items from the phase table. Then,
for each item in the phase array build a status record
with the phase_id from this array element, and the
appropriate job_id.
I think I launch an event and do all this in VBscript but
I'm not real clear on - well vbScript and how its gonna
interact with the Access data here.
Any pointers would be much appreciated. Probably the
first point is I ought to be asking this in a VBscript
forum, eh?
tia,jb