PC Review


Reply
Thread Tools Rate Thread

How do I make a form update textboxes based on a combo box selecti

 
 
BTU_needs_assistance_43
Guest
Posts: n/a
 
      15th Jul 2009
I have a form set up with numerous fields that I want to display data from
several tables I've populated from Excel files. But as there are numerous
files, I want to be able to make it so that you can select which set of files
you wish to see and then see only the pertinent data related to that file.
I've got the display form set up and it has a button which opens another form
which has a combo box to list the various choices. On a double click command
on any of the available choices I want the combo box form to close again and
bring up the first form, updated with the file data. I've dimensioned the
database and table as a readonly recordset and put in the "On Error" commands
in case the data is missing but I'm not sure how to proceed with making this
code write the data to the text boxes in the form.

Also my form is set up with certain cells in a subform within the original
form. The amount of data with each file varies so instead of having to create
the maximum number of textboxes to accomidate one file, I want the program to
fill in the row of text boxes in the subform and if there is another line of
relevant data, it will add another identicle line of text boxes to write the
next row of data to until it runs out. I know its been done before but I'm
pretty certain I don't know how to. Any advice out there?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Make Combo Box appear/disappear based on another combo box selecti =?Utf-8?B?ZHVrZXR0ZXI=?= Microsoft Access 4 8th Mar 2007 08:07 PM
RE: Make Combo Box appear/disappear based on another combo box selecti =?Utf-8?B?ZHVrZXR0ZXI=?= Microsoft Access 0 8th Mar 2007 07:24 PM
Automatically Fill a Text or List Box Based on a Combo Box Selecti =?Utf-8?B?TWF0dA==?= Microsoft Access 3 21st Jun 2006 07:26 PM
How do I make a text box value appear based on a combo box selecti =?Utf-8?B?Q3JhaWc=?= Microsoft Access Getting Started 1 15th May 2005 05:48 PM
make subforms visable/invisible based on the value in a combo box on main form Jason Microsoft Access Forms 1 9th Dec 2003 08:42 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:25 PM.