473,399 Members | 3,401 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,399 software developers and data experts.

combo box name property in datasheet view issue

I want to follow naming conventions for my controls - i usually prefix combo
boxes with "cbo". When a form is in datasheet view however i do not want
the user to see the 'cbo' prefix in front of the field name.

Is there a way to retain this nomenclature and yet have the view display the
field name (or anyname i want for that matter)?

Thanks

--
kent eilers
ke**@kaeServices.com
Nov 12 '05 #1
3 3547
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

When you set up the Datasheet - don't use the datasheet form wizard -
use the Columnar form wizard, then edit the design of the form. This
will give you the control names with their labels. Change the form to
a datasheet form, using the form's Default View property. When the
datasheet displays it will use the controls' label names as the column
names.

- --
MGFoster:::mgf
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBP84iEYechKqOuFEgEQK2FgCdFIU9IEEYwumDAJrzARqCw1 b+9UYAniiq
fDmsW/LLYLXQf1K0jNrNWLXV
=O+wn
-----END PGP SIGNATURE-----

Kent Eilers wrote:
I want to follow naming conventions for my controls - i usually prefix combo
boxes with "cbo". When a form is in datasheet view however i do not want
the user to see the 'cbo' prefix in front of the field name.

Is there a way to retain this nomenclature and yet have the view display the
field name (or anyname i want for that matter)?

Thanks


Nov 12 '05 #2
what label? there is no label property on the property sheet. Look up
combo box in the object viewer and look for the label property. It is not
there. I can't find any 'label' equivalent property for combo boxes. Or
caption. Or anything that suggests changing the column header name for this
control when it is in sheetview mode.

I did not use a wizard to create this combo box.

Sorry for the frustration. ((

"MGFoster" <me@privacy.com> wrote in message
news:nm*******************@newsread1.news.pas.eart hlink.net...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

When you set up the Datasheet - don't use the datasheet form wizard -
use the Columnar form wizard, then edit the design of the form. This
will give you the control names with their labels. Change the form to
a datasheet form, using the form's Default View property. When the
datasheet displays it will use the controls' label names as the column
names.

- --
MGFoster:::mgf
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBP84iEYechKqOuFEgEQK2FgCdFIU9IEEYwumDAJrzARqCw1 b+9UYAniiq
fDmsW/LLYLXQf1K0jNrNWLXV
=O+wn
-----END PGP SIGNATURE-----

Kent Eilers wrote:
I want to follow naming conventions for my controls - i usually prefix combo boxes with "cbo". When a form is in datasheet view however i do not want the user to see the 'cbo' prefix in front of the field name.

Is there a way to retain this nomenclature and yet have the view display the field name (or anyname i want for that matter)?

Thanks

Nov 12 '05 #3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

S'OK... Try this demonstration:

Open a new form in design view. Select a combo box control from the
controls toolbar and place it in the Details section of the form.
When the control appears on the form it will have a ComboBox control
and to its left (usually) the ComboBox Label. Type a new Caption into
the ComboBox Label. Open the form in Datasheet view. You will see
the ComboBox column with the ComboBox's Label's Caption as the
datasheet column name.

If you don't get a Label when you create the ComboBox then your
Default Form has been changed. Not to worry - select a Label control
in the Controls Toolbar and place it on the form (anywhere). Then
click on the Label (Set Focus) and hit Ctrl-X (cut). This will cut
the Label control to the Clipboard. Click on the ComboBox (Set Focus)
and hit Ctrl-V (paste). This will attach the Label to the ComboBox.
Remember this is Access VBA, not VB. In VB Labels are not attached to
controls.

- --
MGFoster:::mgf
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBP891wYechKqOuFEgEQJY+QCfZYW2yYaSuNiDudk0/tc32gjxoEQAnio+
SmkSHu61lSYoUAvg1+sdX9Ae
=uzOa
-----END PGP SIGNATURE-----

Kent Eilers wrote:
what label? there is no label property on the property sheet. Look up
combo box in the object viewer and look for the label property. It is not
there. I can't find any 'label' equivalent property for combo boxes. Or
caption. Or anything that suggests changing the column header name for this
control when it is in sheetview mode.

I did not use a wizard to create this combo box.

Sorry for the frustration. ((

"MGFoster" <me@privacy.com> wrote in message
news:nm*******************@newsread1.news.pas.eart hlink.net...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

When you set up the Datasheet - don't use the datasheet form wizard -
use the Columnar form wizard, then edit the design of the form. This
will give you the control names with their labels. Change the form to
a datasheet form, using the form's Default View property. When the
datasheet displays it will use the controls' label names as the column
names.

- --
MGFoster:::mgf
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBP84iEYechKqOuFEgEQK2FgCdFIU9IEEYwumDAJrzARqCw1 b+9UYAniiq
fDmsW/LLYLXQf1K0jNrNWLXV
=O+wn
-----END PGP SIGNATURE-----

Kent Eilers wrote:
I want to follow naming conventions for my controls - i usually prefix
combo
boxes with "cbo". When a form is in datasheet view however i do not
want
the user to see the 'cbo' prefix in front of the field name.

Is there a way to retain this nomenclature and yet have the view display
the
field name (or anyname i want for that matter)?

Thanks



Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: William Bradley | last post by:
I have a need to construct a combo box that will fill in two fields, on a form,from a single table. The table: "IndexNo", "Product","Supplier","Address" etc. What I would like to do is be...
6
by: William Bradley | last post by:
I have a production table and its accompanying form. There can be up to ten ingredients in what is produced. The ingredients are obtained from the incoming goods table which supplies the two...
0
by: William Bradley | last post by:
I have two fields in a report "ProductCode" and "Description", the latteris a combo box. What I want to have happen is when the user goes to the Description Combo box and selects an item, I want...
2
by: Sean | last post by:
Greetings all, I am attempting to make a form that will filter through several tables that (I believe) have refretial integrity. I am pulling data from several tables into the form and i would...
7
by: Megan | last post by:
Hi everybody- I inherited a database that somehow uses a bound combo box as a record selector. Let me give you some background. The form is based on data from 2 tables. The first table, Person,...
0
by: Jeremy Wallace | last post by:
Folks, Here's a write-up I did for our developer wiki. I don't know if the whole rest of the world has already figured out how to do this, but I hadn't ever seen it implemented, and had spent a...
2
by: fstenoughsnoopy | last post by:
I have a customer order database and I need to pull a customers information, ie first name, last name, address, city, state, zip, phone, etc, into the oder table. i don't know how to go about...
2
by: biganthony via AccessMonster.com | last post by:
Hi, I decided to install Office 2003 Service Pack 3 on my home computer to test (in full knowledge that there may be some issues with it). After installation, I have noticed that with a small...
4
WyvsEyeView
by: WyvsEyeView | last post by:
I have a datasheet form in which one field is a combo box that will potentially contain hundreds of records. I've read about several methods of speeding up such combo boxes or limiting their initial...
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: 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?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.