473,386 Members | 1,753 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Combo Box final format in form

2
Hi, I have created a combo box with 3 columns , one (key) is hidden and 2 columns are appear in selection part of combo : first_name and last_name .
Both first_name and last name are appear in opened list of combo.
When the proper pair is choosen , the final value shown in combo box is a first_name only ...
How I can make the final value shown in form to be in same format as I selecting it : first_name:last_name
May 31 '10 #1
1 1019
OldBirdman
675 512MB
Short Answer - You can't.

If this combobox were bound to a field in a table, then if you selected a Last-First name combination and could display it in the text portion of the combobox, you would change the table to Last-First for the bound column. This would not make sense.
However, this combobox is probably not bound, You could fake it, and make what you want apparently possible.
Simplest solution might be to assign strFirst & " " & strLast into a textbox or label elsewhere on the form. User would become accostomed to looking at this display for verification of results.
May 31 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Wolfgang Kreuzer | last post by:
Hello all, I am converting an Axs 2.0 application to a2k (I know A2K is not the most current version but Axs 2.0 support ended and A2K is supported in our company amd on every PC). The form is...
1
by: Jassim Rahma | last post by:
I have a form which has more than 10 combobox controls and all should be filled from a different fields in different tables in one mySQL database. I want to do this using the code and not at design...
2
by: jim | last post by:
I have created a Table that has 13 fields and 2 Primary Keys, e.g. 60 1, 60 2, ... 60 28, 61 1, 61 2, ... 61 28, etc... I want to create a Form where I can input the Primary Key values to query...
2
by: yadrdr | last post by:
I have an Employees tbl, and then a 2nd table needs to be populated. Half data is from Employee tble, other half data entry. I have a form that will populate the 2nd table. The ID combo box I...
1
by: keri | last post by:
I would like to have a combo box on a form that shows the results of a query, however the query is variable and i am unsure how to do this. I have NO knowledge of code so very basc instructions...
1
by: leedspaddy | last post by:
Hi there, I set the default value of a combo box on a form using the following code in the properties box: cboContactType.itemdata(0) and of course nothing happens. I just want the combo box to...
3
by: buddyr | last post by:
Hello, I have a store database already set up with alot of data in it. I have one table: table1 fields: partNumber, storeName,date,amount,description- ( some others) I have one form: form1 up to...
11
by: jgoodnight | last post by:
Hi, I have a form with three combo boxes: Area, Sub-Area, and Factor. I've set up the Sub-Area combo box to list only those areas that are part of the selected area. I've set up the Factor combo...
5
by: dantebothermy | last post by:
Hi all, I have a form with a subform. On the form is a combo box with three choices "current", "former" and "all". I'd like to use that combo box to set the data source for the subform based on...
10
by: BeaBea | last post by:
Hi All, I have been reading some of the threads in your forum and decided to join and post my question. Hopefully it won't be too lengthy. I have created an Unbound Form called paramform2. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.