SELECTing into a combo box -
How do I read data from an Access table and then put it into a combo box? Can I put a SELECT statement into the data source of the combo box? I'm a newbie with combo boxes. When I search for examples of putting data into a combo box I keep finding .AddItem which is using a recordset. It seems to me that a recordset shouldn't be necessary if I just want to transfer the data to a combo box. Or is it?
Robert
change combobox after selecting from another -
Using javascript,
I have two combo boxes. The first one is populated dynamically with a number at the end that is 1 - 10.
My second combo has just 10 items, 1 - 10. Based on selecting an item from the first combo can I change second combo so a select item is selected?
Thanks.
SELECTing into a combo box -
How do I read data from an Access table and then put it into a combo box? Can I put a SELECT statement into the data source of the combo box? I'm a newbie with combo boxes. When I search for examples of putting data into a combo box I keep finding .AddItem which is using a recordset.
Resolved - MS Combo -
hi guys
Combo Box...
I am generating a list of code in the combo box. Upon selecting any one of the code in the combo, the data will be populated in the other controls.
Now my code is working on lost focus of combo. I want to work the code upon on closeup event, but there i
How to display combo box in Excel spread sheet upon selecting the Cell -
Hi Friends,
Using Ms Excel, I have created Combo box and loaded with some items in it (Say for column b). Now How to display combo box in Next/other row of the same column (say b) upon selecting the Cell using mouse.
Regards
Radhakrishnan
Combo Box highlighted selection -
I have a contacts management program that displays the users contacts in a combo box. I got a request to show the contacts company name from the main screen without actually selecting the contact and opening the info form where the company name displays. They don't want to display th
2 combo boxes -
i have to combo boxed, in the first 1 i have around 5 items. In the second i have 0 items. how do i add items to the second combo box after selecting an item from the first 1
eg
if I select 1 from the first combobox, i want a, b, and e to be added to the second combo box which
Simple database -
Dear,
I have a question for you: in a form you have a combo control, that is, combo1. In this combo I have to put all values from a field in a database. For example, the table values:
PKey ValueInsert
1 alpha
2 beta
3 bet
How to manually populate a DataComboBox [VB6] -
Given a Data Combo Box [Dcb] I need to find a way to populate it manually with 3 fields (Type, Category, Location).
If this was an ordinary Combo Box I would do something like “ComboBox.Additem “Type”, 0” however that option does not seems available with Data Combo Boxes.
Selecting item in combo -
Hi, I have a combo box with items in it. I want to put in a line of code so that when the user presses a cancel button the first ite in the combo box will be selected. Can anyone give me this code please?
Thanking you in advance for your time and help.
PORRASTAR
selection on combo box -
hi friends,
Is there any way I can select various records in a combo box?
I want to give an option of selecting various customers from the combo box and generate the report accordingly, say for eg I want salesmanwise sale report and from the combo box of all salesman I wan to pri
ado .net 2005 datagridview and a combo box issue -
hi
what im trying to accomplish is to have the parent table in the combo box so that when the user selects an item the datagridview will fill with its child table's items. ex, if selecting someones name from the combo box, it would then display the persons info in the datagridview..
Selecting the default record to be displayed in a combo box -
Hello Everyone,
I have a combo box connected to a table. On the table there are multiple dates. I want the most recent date to be the one that displays in the combo box by default. Is this possible, I was trying to mess around with recordset but no luck. Thanks in advance!
Hizae
[2005] Combo Box event -
Hi all
I have a combo box in DropDownList
some Item in it.
On the ComboBox selection change event I am firing a message
It is OK for me
But on a button click I am selecting a value from the combo box then also event of combo box getting fired so how to stop the combo bo
Need to have one combo box follow the other -
I'm trying to finish my program.. I Just need to know how to make two combo boxs stay at the same number down
Like a user will load a list id's with the passwords attached.. I want them to be able to scroll down thru the id list and have that password show up in combo box two uppon
keeping rtb's selection when selecting a combobox -
i have a richtextbox on a tab and a combo box on the same tab. the combo box contains whole numbers that, when selected, changes the font size of the selection from the rtb equivilant to the number selected.
i have a small problem though. clicking on the combo box removes the select
Selecting Item in Combo Box via Code -
What's the method to select an item in a combo box and make it show up in the closed combo box?
Eg. I populate a combo box with 15 items by code. Now nothing is selected. I want to make an item visible. What method do I use it and what is the syntax?
Thanks.
Beginner VB Access Event help please! -
Ok here goes
1st question... anyone have a good suggestion for a VB book for the very computer savvy beginner programmer. (thats me!)
2nd question... the real one to help me get unstuck now!
What code do I need to write on my event click to get my form to select the record I a
Selecting an item in a combo box -
I have a combo box ( style = vbComboDrop-DownList) which displays a list of countries.
My problem is given a particular country name (string) how do I select that item in the combo without having to iterate through each item of the combo.
For example , so far what I have been doi
Selecting Text in a combo -
Hi ,
Can anyone tell me how to set the text in a drop down combo to be selected?
I just want it so that if the user changes the text in a combo that it is highlghted/selected
Hide Combo Box Entry -
I have an entry in my combo box (dropdown list) which I use as a default or error value. I don't want this entry to show up in the list when the user is selecting an entry. Is there a way I can have that entry hidden to the user but selectable in my code or do I have to repopulate th
Combos msAccess -
Hi
What I want to solve is very simple:
I have a combo cmbDepartment and on selecting a specific dept, the respective staff is listed in another combo cmbPartner.
combo cmbPartner is based on qryPartner which has for criteria: the value selected in cmbDepartment (all logical..)
Displaying more then one column in a combo box -
Hi to All,
Is there a way in Visual Basic 2005 to get the combo box to display more then one column (if more then one column of data is use) when selecting the items from the pull down menu ? I did not see any options for that, I was able to do that in msaccess ?
Thanks
Combo and dbgrid HELP! -
Hi alll
I need urgent help in this reagrd
I am using a dbgrid with 4 colums and i am putting a dbcombo box in the first colums what i want is this i am filling the combo box from another table and putting it there whereas i want to add data from the grid to another table.
but my
Starter help for combobox fill -
Hi.
I have searched this out, but must be searching too broadly or something, as no matching threads as of yet.
Mind you I am cutting teeth still in vb.
I want to have 6 combo boxes, starting with 1, populating it with a distinct value, and #2 combo selecting distinct where #1
When run the windows application by using a Compiler all components works properly. H -
Hi All,
I’m developing an application using vb.net 2002.
I have a combo-box with five list items.
Items are:
One
Two
Three
Four
Five
I have a label and it’s text property is set to “Three”. And I have a button. When I click on the button, it is suppos
Fill a combo box of airports of the world [*Resolved *] -
Hello,
I am creating a flight website that will allow users to select places that they want to fly to. They will select the departure and destination from selecting the airport from the combo box.
My problem is, that there are many airports in the world. Would I have to manually
forms - selecting multiple items in combo on asp page -
I am interested in creating a ASP page that has a user answers a set a questions. Each question will have a combo box. Is it possible for a user to pick more then one item by using the CTRL key? If so how will that appear when retreiving with a request.form(field)?
Thanks for you
selecting combo box in msaccess using VB -
hi,
i have a combo box in msaccess form........it has four values 1,2,3,4..........how can i select values in it..........?
regards
vivek.s
Select an item from a combo box and show a field in a text box -
How can I display a field in a text box by selecting this field from a combo box. More simply, I have a DB MSACCESS in this db I have a table in this table I have two fields. One field I populate in a combo box, but the second I need to display in a text box. Any time when I select any
Combo Box Error Handeling -
Like my subject line ^_^.
I have a remove button to remove items from the combo box and if someone tried to remove the initial state..not selecting something from the drop down and hits remove i get error...how could i make msg pop up?
EXCEL: Auto-populate cells using combo boxes -
Hello,
I have a workbook with lots of airport information stored in, I want to bring that information into anouther workbook by selecting a specific airport in a combo-box. I have never used VB before so please be gentle. Any help would be appreciated.
Combo box dropdown question -
How can I disable access to combo box dropdown? I have a combobox which I don't want to disable it but I don't want the user to be able to get its dropdown when the program loads until button1 is click then combobox1 can be drop to give access of selecting from it.
combo boxes restricted by combo boxes -
I have a form where I have two combo boxes and i want to restrict the second combo box based on what was put in the first combo box. I've seen about 5 different websites that explain step by step how to do it, and im really really close, but don't quite have it and i hope someone can
Combo Fill In -
Hmmm... the closest thing to a combo box doing that (that i know of) is setting the style property of the combo box to 2
when u type in the combo box it will go the the corrosponding first letter of the words in the combo box
Combo Box Woes -
OK,
If you have a combo box that is populated via a table in an Access DB and you want to select something from that combo bo xna dhave it populate another combo box with information from the same DB but based on the criteria that you have selected in the first combo box, how would
excel protection allow combo box -
I'm not sure this is the right place to ask this, so if not could you please link to somewhere else I can ask this?
here it goes: I've got an excel spreadsheet that I'm send my users to fill in data and I would like to protect most of the sheet beside the places where they should fi
Lots of the same -
Hi, im trying to fill all the combo boxes in a form with the same thing, im currently using this code:
Dim combo As ComboBox
For Each combo In ImpAsig
combo.AddItem Impre1
combo.AddItem Impre2
combo.AddItem Impre3
combo.AddItem Impre4
combo.AddItem Impre5
Next combo
But it
Combo BOx stuff -
Ok if you have two combo boxes and you want one combo box to fill in the contents according to criteria in the other combo box, how would you do it? Example, I have a combo box that filles that fills the file names of files in a directory on the network. What I would like to do is setu
Combo Box to get all field names -
Can anyone help me.
I have a table Accounts holds information such as Balance, Limit, Date, AccountID
When I am adding details on the Transaction Form in Visual Basic what I want is a drop down combo where I can find the relevant account information for that transaction. Once its
Single User Windows Application Concurrency Error -
Hi People,
i'm hoping someone will be able to help me soon, as this is a very fustrating problem.
I am creating something very simple, but i am also quite new to VB.Net. I have a form that connects to an access database using the OleDB Connection. I am writing a simple address bo