473,408 Members | 2,734 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,408 software developers and data experts.

datasheet view font

AccessIdiot
493 256MB
Hello all,

I have a subform that I want to be in datasheet view to be able to add multiple records. I have dragged and dropped the fields from the field list window and set the font to what I want. However, when I view the form the subform is in a default font and the column widths are not long enough to hold the names. How can I change the font and the column width?

thanks for any help
May 1 '07 #1
12 6651
Rabbit
12,516 Expert Mod 8TB
I don't know of a way to change the datasheet view, have you thought about continuous subform? It'll display information like a datasheet except you have more say over how it looks.
May 1 '07 #2
AccessIdiot
493 256MB
I thought with a continuous subform it just repeats the controls? I have four textboxes so something that looks like a table would be better, I just need it to have the same font as the rest of the page (company standard) and fit without scrolling.
May 1 '07 #3
Denburt
1,356 Expert 1GB
This can be changed in the MS Access window under tools Options, Datasheet. You can also accomplish this in code if you would like.

http://msdn2.microsoft.com/en-us/lib...ffice.10).aspx
May 1 '07 #4
Denburt
1,356 Expert 1GB
Sorry for my short answers i am super busy here today.

ColumnWidth can be found in the help file and more info in the link below:
http://msdn2.microsoft.com/en-us/lib...ffice.11).aspx


From the help file:
Forms![Customers].RowHeight = 450
Forms![Customers]![Address].ColumnWidth = -2
May 1 '07 #5
AccessIdiot
493 256MB
Thanks for the help Denburt! Answers don't have to be long. :)
May 1 '07 #6
You can change the font, color, gridlines and cell effects on datasheets (but not column widths) by going to Options in the Tools menu then choosing the datasheet tab. However, this will effect all datasheets not just the one in your subform.

Have you considered using a listbox control instead of a subform? I used to always use subforms and have fought with trying to format the datasheets as well until i figured out the listbox. It seems to me you have much more control over a listbox's aesthetics (including column widths) and you can change/edit the rowsource on the fly much like you would the Record Source of a form/subform. It also presents a wizard when you add it to the form, just like the subform, so the initial set up is a breeze as well if you choose to use it.
You might want to just try it and see what it looks like.


Rebekah
South Alabama
May 1 '07 #7
Rabbit
12,516 Expert Mod 8TB
Good to know. Although I never did like the datasheet view, from a GUI stand point.
May 1 '07 #8
AccessIdiot
493 256MB
I don't like the look of the datasheet either and would prefer continuous forms but in this case it works better as datasheet.

Basically this is a form where the user enters information about a specimen. But they might have 7 of the same thing, i.e. 7 catfish and the only difference is their length. So instead of filling out 7 forms for the same thing they fill out one form:

species: catfish
age: adult
state at time of capture: dead
state at time of release: dead
count: 7

and then a subform for the different measurements:

Standard Length
Fork Length
Total Length

So the subform in this case works best as a table with rows and columns.

I hadn't seen the options under, well, the Options tab (drrrr). Thanks for pointing that out! I was getting tired of Select All, change font. :)
May 1 '07 #9
Denburt
1,356 Expert 1GB
Personally I prefer the Datasheet view although I usually avoid it for my clients so I can add more bells, and whistles such as a button for a calendar for dates or something. I find most people aren't very keyboard savvy and would rather use a mouse. Where I find using continuous forms more of a headache tabbing and using enter versus the arrow keys.

Hello, RebekahW I agree if you are just browsing through records or searching for a record or records a listbox is pretty good and it is worth mentioning. Ya know we are practically neighbors... BTW, LOTS of my family down your way around the Mobile area and there abouts.
May 1 '07 #10
Denburt
1,356 Expert 1GB
Ah you got in under my last post lol oh well.
I hadn't seen the options under, well, the Options tab (drrrr). Thanks for pointing that out! I was getting tired of Select All, change font.
Yeah select all, change font, ugh that would suck. Glad I could help.

Short story:
I was working under a certifiable DBA once and she was hand typing thousands of records so they could all be uppercase rofl. I had no idea, then she asked me to help, 5 min later and the task was completed, needless to say I thought she was going to hit the floor. Sometimes people don't take things like that to well but she was O.K. I love office automation, most of what I do makes life easier and of course work myself out of a job but hey, have you seen the commercial about the easy button?
May 1 '07 #11
AccessIdiot
493 256MB
lol. I've worked with Flash long enough to know that the answer to "is it possible to . . ." is always "yes". You just have to hope that the person who knows how (or wants to find out) read your post.

But then again, Flash is Macromedia/Adobe and Access is Microsoft so maybe the answer to the question isn't always yes. ;)
May 1 '07 #12
Denburt
1,356 Expert 1GB
I learned to say no a long time ago... ;) Sometimes what the clients want they just can't have or I don't want to do it. Then we just find another method to achieve the same results, and in most instances thats is the main thing that is important.
May 2 '07 #13

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

Similar topics

3
by: Keith Wilby | last post by:
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...
3
by: Kent Eilers | last post by:
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...
4
by: Terry | last post by:
I have created a Main Switchboard in Access 2000 and it has a button which opens a Form. I have set the form Properties Default View to Datasheet and this always opens in datasheet view. When I...
2
by: Georges Heinesch | last post by:
Hi: I have a tables in relationship to each other. When I open the main table (table 1), I see a "+" at the very left of every record. Clicking on the "+" expands the data of the linked table...
1
by: Yuki | last post by:
I am trying to find out if I can have a specific record that has been selected in a list box be opened in datasheet view. I can't seem to find where this can happen or what I need to use to make...
1
by: R. Hopping | last post by:
I've changed the font size on the form but it only works in form view. When the data is displayed in Datasheet view it doesn't display the selected font size.
1
by: PeteCresswell | last post by:
The following code is working for everything but the column formatting on lines 9191 and 9192. It doesn't trap out - just doesn't "take". "fChart" is a pointer to the open form that has the...
1
by: sasan3 | last post by:
when I set visible=false, then entry is not visible in form view, but still shows up in datasheet view. How do I make a field not to show based on some condition in datasheet view? Tx.
2
by: Alan Forsyth | last post by:
That rather long subject says it. In Access97 running on XP - I want to display a Maximized size Form01, then open a Restore size Datasheet View Form02 on top of the first Form. PopUp won't give...
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: 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
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
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
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,...
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.