INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

combobox and Fields

combobox and Fields

(OP)
I have several forms that have the same information plus some so I thought it was be a good idea to create combobox with the main category and then based on the selection, have the field display the appropriate fields. I know I can put all the fields on the screen but I want it to look somewhat nice (lol).
If I have

CODE

tbldata
fldDateAdded   -every form has this
FldSubmittedBy -every form has this
Fldsheets      -one form has this
FldNoTrucksInspected - yet another form has this
.... 
Form:
cboCategory: has the list of all the forms available

form1 has 3 fields: Date added, Submitted By, Sheets
form2 has 5 fields: Date Added, Submitted By, Meter Size, Bronze/Plastic, No Meters Scrapped

So when Form one is selected on the combo box, I want the next row to show form 1 fields
when form two is selected on the combo box, I want the next row to show form 2 fields.

Is there a way to do this?
thanks
lhuffst

RE: combobox and Fields

If you have a bunch of different forms, you could add one as a subform and then use the after update of the combo box to change the Source Object.

Duane
Hook'D on Access
MS Access MVP

RE: combobox and Fields

(OP)
ok thanks I'll try that

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close