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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic Forms in Access '97 1

Status
Not open for further replies.

cassie99

Programmer
Dec 20, 2001
26
US
Hello.

I am looking for code examples to dynamically create a form in access each time a table is updated by a user. Records may be added or removed from the table. Does anyone have experience with this? Thanks in advance.

Cassie
 
Can you explain a little more why you want to dynamically create a form and in what circs you want to do this? And do you mean adding/deleting records, or adding/deleting fields?

Jim There are two ways to argue with a woman - neither one works.
Another free Access forum:
More Access stuff at
 
Each form contains a listing of skills (a check-off list) for a particular job role. Since the job role is not finalized, current skills may be removed from the form or new skills may be added (adding and deleting records). I would like to minimize the work that the admin. asst. needs to do each time skill requirements change. Thanks.

Cassie
 
I think you may want to turn your view of the database a bit 'sideways' - rather than add a skill as a discrete field (which is what I think you're describing), use a skills table with records in it for every skill, and then use a query to build the recordset needed for a particular job. Then your form can map to the recordset.

IOW, what I think you have now is something like this:

Skills Needed:
----------------
SkillA : YesNo
SkillB : YesNo
SkillC : YesNo
etc etc etc

And what you want to end up with is this instead:

SkillsNeeded
----------------
SkillA
SkillB
SkillF
SkillG
SkillM

Do you follow what I'm saying, or is this totally offbase?

If you set things up my way, you can add and delete skills to the skills table, without having to redesign forms each time.















There are two ways to argue with a woman - neither one works.
Another free Access forum:
More Access stuff at
 
Actually, what you are describing seems to be what I am looking for. Do you have (or can you point me to) an example of this type of code. Thanks.

Cassie
 
Excellent response Mr. Hare... You get a star. :)
Onwards,

Q-
 
Cassie, I'm in the midst of about 12 things right now, just checking in here while I gnaw on some lunch, if I get time I'll try to put together a demonstration of what I mean...check here later tonight...

Quintios - thx for the star..I wish they were redeembable for cash... [smile]

Jim There are two ways to argue with a woman - neither one works.
Another free Access forum:
More Access stuff at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top