PC Review


Reply
Thread Tools Rate Thread

combo box value is not shown on the form

 
 
Ira
Guest
Posts: n/a
 
      29th Apr 2008
I have an continious form. There are two combo boxes. ComboBox1 is the
criteria for ComboBox2. Combo2 has 2 columns. First column ID(number)is
bound, but second column NAME (text)is displayed. Works fine when I enter
records. But after I close and reopen the form, nothing is shown in combo2.
All the data entered previously exist in the table. RecordSource of Combo2
is a query. If I make this form as single form and put Requery command on
Current event, it works. But i need to make it as continious, b/c it's
subform. Thank you in advance.

 
Reply With Quote
 
 
 
 
Douglas J. Steele
Guest
Posts: n/a
 
      29th Apr 2008
Take a look at my February, 2006 "Access Answers" column in Pinnacle
Publication's "Smart Access".

You can download the column (and sample database) for free at
http://www.accessmvp.com/DJSteele/SmartAccess.html

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Ira" <(E-Mail Removed)> wrote in message
news:0AA5AB2D-3B5A-40CE-8614-(E-Mail Removed)...
>I have an continious form. There are two combo boxes. ComboBox1 is the
> criteria for ComboBox2. Combo2 has 2 columns. First column ID(number)is
> bound, but second column NAME (text)is displayed. Works fine when I enter
> records. But after I close and reopen the form, nothing is shown in
> combo2.
> All the data entered previously exist in the table. RecordSource of
> Combo2
> is a query. If I make this form as single form and put Requery command on
> Current event, it works. But i need to make it as continious, b/c it's
> subform. Thank you in advance.
>



 
Reply With Quote
 
 
 
 
Ira
Guest
Posts: n/a
 
      29th Apr 2008
Thank you, Douglas. It sounds like great idea. I will definitely try this.
Will let you know tomorrow how it worked. Thanks again!

"Douglas J. Steele" wrote:

> Take a look at my February, 2006 "Access Answers" column in Pinnacle
> Publication's "Smart Access".
>
> You can download the column (and sample database) for free at
> http://www.accessmvp.com/DJSteele/SmartAccess.html
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no e-mails, please!)
>
>
> "Ira" <(E-Mail Removed)> wrote in message
> news:0AA5AB2D-3B5A-40CE-8614-(E-Mail Removed)...
> >I have an continious form. There are two combo boxes. ComboBox1 is the
> > criteria for ComboBox2. Combo2 has 2 columns. First column ID(number)is
> > bound, but second column NAME (text)is displayed. Works fine when I enter
> > records. But after I close and reopen the form, nothing is shown in
> > combo2.
> > All the data entered previously exist in the table. RecordSource of
> > Combo2
> > is a query. If I make this form as single form and put Requery command on
> > Current event, it works. But i need to make it as continious, b/c it's
> > subform. Thank you in advance.
> >

>
>
>

 
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
Re: Combo box value determined by the value of another combo box fredg Microsoft Access 10 27th Apr 2011 12:03 AM
Open form based on combo box value w/error message for blank combo box Ruth Microsoft Access 0 20th Apr 2007 11:00 PM
lookup value for combo box based on another combo box value? =?Utf-8?B?RGF2aWQ=?= Microsoft Access Forms 2 18th Jan 2006 04:26 PM
Combo Box Value not Shown Tim J Microsoft Access Forms 1 26th May 2004 05:52 PM
Default value in combo box = value of another combo box? Geordie Microsoft Access Form Coding 1 16th Mar 2004 11:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:18 PM.