-Collapse +Expand
Message Boards
Tech Search:

Advanced
More Board Options
MOREINFO...
My Moderator Settings
MODERATOROPTONS

BOARDSTATS
Posts: 18370
Threads: 5994
Topics: 95
Boards: 34
Groups: 34
 

Prestwood eMagazine

August Edition
Subscribe now! It's Free!
Enter your email:

   ► MB Lobby ►   Print This     

Combo Box Posts

"Combo Box" Message Board Posts

More...

Thread 5 of 5

Craig Goodman
Combo Box won't update with specified value
As this is my first post to this board, I will try not to complicate this with unnecessary information. I am trying to set a combo box to a specific value (the name of a loan) using VBA for when the form opens. The combo box is populated with Loan Names from an Access table. Currently, I am using the following code to set the list index property (I have used this with excel vba before and it worked):   Combo_LoanName.ListIndex = 3  The problem is that when the form opens the combo box list is populated but no item is selected. I have tried other variations of the code above but to no avail. Can anyone spot what I may be missing?   Thanks, Craig
Posted to MB Topic: Access VBA Programming « Access Board
19 years ago
Nothing New Since Your Last Visit
5057
Hits

Thread 4 of 5

PANTLORD
ComboBox Text won't clear.
Hi there,, , Does anyone know how to clear the text dispplayed in a combo box? Mine just holds the last value and doesn't overwrite it when I tab back to it ideally I want it cleared and ready for the next entry. , , I've tried setting .Text := ''; but it doesn't work even if I set it to '1'; it doesn't display a 1 only the previous value. The whole text line seems to be higlighted rather than just the text. Any ideas?, , Thanks, Mully
Posted to MB Topic: Delphi VCL « Delphi Board
20 years ago
3 replies. Last post:

Anonymous
ComboBox.clearselection; :) ..  --- salambanan
20 years ago
Nothing New Since Your Last Visit
12082
Hits

Thread 3 of 5

mrs179
Form with dependent combo boxes (beginner)
Hello- Very much a beginner at Access here.  I'm trying to create a form for data entry, and may have several questions, but let's start with this one: I am entering data related to employee attendance at professional development sessions.  There are six categories of sessions, and each category contains about 20-40 independent sessions. For the first two steps of the data entry process, I would like to have two combo boxes: one in which the category is selected, and the second in which the exact session in question  (sorted by data and course title) is selected.  Of course, I would rather not have the second combo box contain over 200 sessions.  The question is thus: How do I make the contents of the second combo box dependent on those of the first, so that if a particular category is selected in the first, only the sessions in that category are displayed in the second? Thanks in advance.,
Posted to MB Topic: MS Access Interactive « Access Board
19 years ago
1 Reply:

dmichael
{Too Long!}
19 years ago
Nothing New Since Your Last Visit
5205
Hits

Thread 2 of 5

marge
Problem Using the TIWComboBox
{Too Long!}
Posted to MB Topic: Delphi Internet Solutions « Delphi Board
20 years ago
2 replies. Last post:

madeline_johnso
{Too Long!}
20 years ago
Nothing New Since Your Last Visit
6912
Hits

Thread 1 of 5

ftpolkmike
combo box
I am trying to create a combo box that diplays the names listed in a table but I want he list filtered by a date field, that is in the same record, being < todays date. Some of the date fields will be blank and I still want them to be displayed. , Any help I could get on how to do this would be greatly appreciated.
Posted to MB Topic: MS Access Interactive « Access Board
19 years ago
1 Reply:

Dan
in the open event of the list for the combo box, run a query that put the name and date fields into a tcursor. Scan the tcursor and for each record that matches the criteria that you wish to include in the list insert a new item. Hope this helps
19 years ago
Nothing New Since Your Last Visit
1886
Hits
More...

"Combo Box" Knowledge Base Posts

  KB Article    

NE Ohio Computer Guy
1. How to Populate Combo Box Control and Set Default Selection in C#

This article describes how I populate a combo box control in C# and designate the default selection.

Posted to KB Topic: C#
6 years ago

Article
Nothing New Since Your Last Visit
1403
Hits

C# (Visual C# & VS.Net)

Larry J. Rutledge
2. Advanced Delphi: Resize Drop-down List

To resize the list box of a combobox, you merely need to send the Windows API message: CB_SETDROPPEDWIDTH to the combo box.

Posted to KB Topic: Using Controls
18 years ago, and updated 17 years ago
(6 Comments , last by onion.g )

Article
Nothing New Since Your Last Visit
9797
Hits

Pascal and Delphi Coding
 
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site: 
www.prestwood.com


©1995-2026 Prestwood IT Solutions.   [Security & Privacy]