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

Home Posts Topics Members FAQ

Field Names in Datasheet View - A97

I have a form which allows both form and datasheet views. My question is,
is it possible to control the field (column) names in datasheet view? What
happens at the moment is that the name is taken from a control's label if
there is one, and if not, the control's name is used.

This is confusing for my users so I'd like to be able to use more sensible
names in datasheet view. Is this possible?

Many thanks.
Keith.
Nov 12 '05 #1
3 6423
"Keith Wilby" <ke*********@Aw ayWithYerCrap.c om> wrote in message
news:Xn******** *************** *@10.15.188.42. ..
I have a form which allows both form and datasheet views. My question is,
is it possible to control the field (column) names in datasheet view? What happens at the moment is that the name is taken from a control's label if
there is one, and if not, the control's name is used.

This is confusing for my users so I'd like to be able to use more sensible
names in datasheet view. Is this possible?

Many thanks.
Keith.


Hi Keith
I almost always use labels if the form is to be viewed as a datasheet - not
only does the label caption appear as the column header, but also appears
when you use the standard search. This is pretty important if you have
geeky field names. Don't forget that this still works if the label is made
invisible - a trick which might help in your case.
Of course the other route might be to put in a bit more work and have
frmDetails (allow form view only) and frmList (main form in form view only)
+ frmListSub (subform in datasheet view) combination. Buttons on frmDetails
and frmList can toggle between the 2 modes and although it's more work, it
also allows you more control - my forms generally open in one mode only.

Fletcher
Nov 12 '05 #2
"Fletcher Arnold" <fl****@home.co m> wrote:
Don't forget that this still works if the label is made
invisible - a trick which might help in your case.


Thanks Fletcher, it's so bloomin' obvious now that you've mentioned it.

Thanks again,
Keith.
Nov 12 '05 #3
rkc

"Keith Wilby" <ke*********@Aw ayWithYerCrap.c om> wrote in message
news:Xn******** *************** *@10.15.188.42. ..
I have a form which allows both form and datasheet views. My question is,
is it possible to control the field (column) names in datasheet view? What happens at the moment is that the name is taken from a control's label if
there is one, and if not, the control's name is used.

This is confusing for my users so I'd like to be able to use more sensible
names in datasheet view. Is this possible?


You can set a Caption for the field in table design view. Same tab at the
bottom where you can set it up as a lookup field.
Nov 12 '05 #4

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

Similar topics

4
6819
by: Andy Hutchings | last post by:
Hi everybody - hope you can help out here. I have a form in a database, which is a columnar form from one of the tables in the db - there is a sub-form to the form which is a datasheet view of another table in the db. The LinkChilds property is set to show connected records from both tables. What I'd like to do is copy and paste, or use some other method of writing, the contents of one field in one table in the form, to a field in the...
12
1690
by: Jim Fox | last post by:
I never noticed this myself. Had a user bring this up when then were updating a field that is a NUMBER, LONG INTEGER field. In successive rows, they entered into. 3 (typed in row 1) 4 (typed in row 2) 5 (showed up when arrowed down to next row...........but should of been left blank)
13
3526
by: John young | last post by:
I have been looking for an answer to a problem and have found this group and hope you can assist . I have been re doing a data base I have made for a car club I am with and have been trying to make a query that selects from a table as desribed below .. I have a table (Volunteer) that has a member field (memnumber) and a number of fields that are headed in various categories and are yes/no formated
15
2305
by: Paul T. Rong | last post by:
Hi everybody, This time a very very difficult case: I have a table "tblStudent", there are 50 students, I also made a form "frmStudent" based on "tblStudent", now if I don't want to show all the students in a classical (vertically, from top to bottom) way, but make them "sitting" in 50 text boxes, 5 rows 10 columns, how to do it? Thanks in advance.
2
9784
by: Gary T. | last post by:
I have a subform (that is linked to a table) in a blank form. When the table is viewed in its subform state in the form, the headings are not user friendly. ie. CustN I would want it to read in the subform heading column as Customer Name without affecting the actually field heading in the table itself..... if that makes sense. Any suggestions? thanks
4
2662
by: Don Do | last post by:
Help I built a form/subform/subsubform setup using the access forms wizard. I have a table1 = parent, table2 = child, table3 = (grandchild?). There will be multiple records in table2 that tie to table1, and multiple records in table 3 that tie to table2. Both on "1 to many" joins. Each of the forms are bound to the fields in the respective tables. The subform & subsubform are datasheet view. When I enter any data, I
2
2902
by: King Ron | last post by:
Ola all. In responding to a recent post requesting help with a search issue, I recommended using a combo box lookup in the table design. "paii, Ron" (no relation) posted this reply: " There are many posts in this group explaining the pitfalls of using the lookup feature in tables. Best practice appears to be, keep the lookup in the forms using combo box or list box."
0
1550
by: anniebai | last post by:
I am testing a form converted from access 2003 to 2007. This form has two keys (StudentID and ProjectID). if I choose form view, both fields displays. but if in datasheet view, only ProjectID show up. There's no code behind. and the visible value of StudentID is yes. What else shall I do to display the studentID field on datasheet view? And more, in form view, although "allow delete", "allow addition" are all set as yes, the form view...
4
1984
by: soulerrant | last post by:
Access 2003 SP2, Win XP I have a form that has Default View = Datasheet; allow Form View = No. Form opens in Datasheet view. The form has a text field with 'Is Hyperlink' set to Yes. When the hyperlink field is clicked, a browser opens. If the browser is closed, all is good. However, the 'Back' button on the browser is enabled. When that is clicked, focus goes back to the database but the form is suddenly in Form view rather than...
0
9579
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
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...
1
9984
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
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
6662
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5441
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2811
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.