PC Review


Reply
Thread Tools Rate Thread

Combo Box updates Text Box After Update

 
 
jastanle84
Guest
Posts: n/a
 
      4th Jun 2005
Hell

I am new to VBA and Access. I need to know how to update a text bo
after a selection has been made in the combo box. Any help please

 
Reply With Quote
 
 
 
 
Alex Dybenko
Guest
Posts: n/a
 
      4th Jun 2005
you can use combobox afterupdate event to set testbox value like:
me.textbox1=me.combobox1

--
Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com


"jastanle84" <(E-Mail Removed)> wrote in
message news:O_mdnRqlg-(E-Mail Removed)...
> Hello
>
> I am new to VBA and Access. I need to know how to update a text box
> after a selection has been made in the combo box. Any help please?
>



 
Reply With Quote
 
=?Utf-8?B?TmV2aWxsZVQ=?=
Guest
Posts: n/a
 
      6th Jun 2005
Hi Alex May also need to use columns. If column 0 is your primary key, and
you want to display a name for example, you may need to use
me.combobox1.colunms(1)

"Alex Dybenko" wrote:

> you can use combobox afterupdate event to set testbox value like:
> me.textbox1=me.combobox1
>
> --
> Alex Dybenko (MVP)
> http://Alex.Dybenko.com
> http://www.PointLtd.com
>
>
> "jastanle84" <(E-Mail Removed)> wrote in
> message news:O_mdnRqlg-(E-Mail Removed)...
> > Hello
> >
> > I am new to VBA and Access. I need to know how to update a text box
> > after a selection has been made in the combo box. Any help please?
> >

>
>
>

 
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
Update text box from combo box Fee08 Microsoft Access Form Coding 2 15th May 2008 11:56 PM
Using a combo box to update a text box =?Utf-8?B?Q29yeSBC?= Microsoft Access 4 27th Oct 2006 05:22 PM
How do I update a text box using a combo box? =?Utf-8?B?UmhvZGEgSGFycmlz?= Microsoft Access 6 16th Jun 2006 01:19 PM
update text box via combo box =?Utf-8?B?U3R1Sm9s?= Microsoft Access Forms 9 1st Aug 2005 04:26 PM
update a text box from a combo box Burghew Microsoft Access 1 9th Dec 2004 11:57 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:51 PM.