473,769 Members | 2,166 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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**@kaeService s.com
Nov 12 '05 #1
3 3567
-----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/AwUBP84iEYechKq OuFEgEQK2FgCdFI U9IEEYwumDAJrzA RqCw1b+9UYAniiq
fDmsW/LLYLXQf1K0jNrNW LXV
=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******** ***********@new sread1.news.pas .earthlink.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/AwUBP84iEYechKq OuFEgEQK2FgCdFI U9IEEYwumDAJrzA RqCw1b+9UYAniiq
fDmsW/LLYLXQf1K0jNrNW LXV
=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/AwUBP891wYechKq OuFEgEQJY+QCfZY W2yYaSuNiDudk0/tc32gjxoEQAnio+
SmkSHu61lSYoUAv g1+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******** ***********@new sread1.news.pas .earthlink.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:::mg f
Oakland, CA (USA)

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

iQA/AwUBP84iEYechKq OuFEgEQK2FgCdFI U9IEEYwumDAJrzA RqCw1b+9UYAniiq
fDmsW/LLYLXQf1K0jNrNW LXV
=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
298
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 able to search on the "Product" field and when the correct product is found, it fills in the appropriate cell on the form and at the same time, brings up the "IndexNo" in another box. Is this
6
309
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 parameters that I use, "Name" and "CatlogNo". This production table needs to contain each ingredient by name and catalogue number. With help from this list I was able to set up a combo box that allowed me to select a particular ingredient, and when...
0
302
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 its corresponding "ProductCode" to appear in the ProductCode box. Both of these items are picked from a Query which lists the "Description" first followed by the "ProductCode". Help from this list (PC Datasheet) was as follows:
2
5472
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 like to eventually be able to filter down through the tables untill i can reach one unique record. I am creating a datbase to keep track of registered accounts for a stae program. Each account is registered into the program through a two...
7
2268
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, records info about a person. The second table, Case, records information about a person's case, almost like a human resources database. The primary key of the table, person, is his/ her social security number. The primary key of the other...
0
2928
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 lot of time trying to figure it out, over the years. It finally dawned on me a couple of weeks ago how to do this. A couple of notes: 1) This is written for a different audience than CDMA; it's written for
2
946
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 making this work...
2
7049
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 database I wrote for home, the combo boxes and listboxes no longer display the bound column. For example, on a form I have a combo box based on a table called 'names'. The two columns in the combo box are ID and Surname. The combo box and list box...
4
1599
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 contents and I have used those methods on "form view" forms, but they don't lend themselves to datasheet forms. One thing, of course, is to set the Row Source programmatically using the OnEnter event and to limit the Row Source based on a query with...
0
9422
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10206
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10035
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9851
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8863
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7403
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5293
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3949
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3556
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.