PC Review


Reply
Thread Tools Rate Thread

Assigning a default value for a combo box

 
 
=?Utf-8?B?UCBOYWhzZXI=?=
Guest
Posts: n/a
 
      22nd Feb 2006
I have combo boxes that contain the numbers 0;1;2;3;4 as the value list such
that the user can select one of these choices. I'd like for the "0" to be
the default value and pre-populated in the field when the user brings up the
page. I've tried to use the [boxname].ItemData(0) in the default line of the
properties but the default value is still not showing up. Any suggestions?
thank you

Phil
 
Reply With Quote
 
 
 
 
=?Utf-8?B?bGRpYXo=?=
Guest
Posts: n/a
 
      22nd Feb 2006

[boxName].[ItemData]("0") but 0 mean is the first name in the list.

Thanks


--
Lorenzo DÃ*az
Cad Technician


"P Nahser" wrote:

> I have combo boxes that contain the numbers 0;1;2;3;4 as the value list such
> that the user can select one of these choices. I'd like for the "0" to be
> the default value and pre-populated in the field when the user brings up the
> page. I've tried to use the [boxname].ItemData(0) in the default line of the
> properties but the default value is still not showing up. Any suggestions?
> thank you
>
> Phil

 
Reply With Quote
 
=?Utf-8?B?UCBOYWhzZXI=?=
Guest
Posts: n/a
 
      22nd Feb 2006
I've tried it with and without the quotes. It still doesn't populate the
field with the 0 (I have the "0" as my first option). Any other suggestions?


"ldiaz" wrote:

>
> [boxName].[ItemData]("0") but 0 mean is the first name in the list.
>
> Thanks
>
>
> --
> Lorenzo DÃ*az
> Cad Technician
>
>
> "P Nahser" wrote:
>
> > I have combo boxes that contain the numbers 0;1;2;3;4 as the value list such
> > that the user can select one of these choices. I'd like for the "0" to be
> > the default value and pre-populated in the field when the user brings up the
> > page. I've tried to use the [boxname].ItemData(0) in the default line of the
> > properties but the default value is still not showing up. Any suggestions?
> > thank you
> >
> > Phil

 
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
assigning a value from a column of a combo 2vao Microsoft Access Forms 1 2nd Apr 2009 07:04 PM
Assigning datasource to combo box John Microsoft VB .NET 5 20th Feb 2008 01:21 AM
Assigning Default Values To Cascading Combo Boxes =?Utf-8?B?RWRkaWUncyBCYWtlcnkgYW5kIENhZmUn?= Microsoft Access VBA Modules 5 1st Mar 2005 09:36 PM
dynamically assigning to a combo box C Microsoft Excel Programming 1 22nd Feb 2005 08:30 AM
assigning default value to combo box Todd Microsoft Access Forms 1 2nd Dec 2003 07:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:59 PM.