-
WSThomasW
AskWoody LoungerIn the appropriate report section (probably the report footer), place an unbound textbox with the following formula in the Control Source: =Count([your fieldname])
-
WSThomasW
AskWoody LoungerSeptember 13, 2002 at 6:50 pm in reply to: Cannot export report with varying textbox back col (97) #616629Have you tried printing the report to PDFWriter; that is as a PDF file? It can be sent as an email attachment and I have found it is the least frustrating way to retain Access report formatting. (Although I haven’t used a texbox BackColor, so post back if it doesn’t work)
-
WSThomasW
AskWoody LoungerThe way that I do this is on the path of Patt’s suggestion. Having a table that holds each of the 50 reponses as different fields is going to be cumbersome, as well as not properly normalized. I have one table for the general Survey identifying data, a second table for Responses and a third table for Question information (QuestionID and the QuestionStatement). Their relationships are one to many. So the Response table has just 3 fields, SurveyID, QuestionID and the Response itself. You can calculate statistics from this table much more easily. I believe that I once posted a structure for this type of application on the forum. If you do a search on “Survey”, you will find it.
-
WSThomasW
AskWoody LoungerI remember it also – I saw it in a Logical Operations Training manual for Access. I looked through my manuals, but it must have been before v97, because I no longer have those older ones. None the less, Patt explained how it is done. That new field uses the Left function to get the first letter of the Last Name in the group header. Format it large and bold.
-
WSThomasW
AskWoody LoungerIs the Department Name in the Group Header? If so, in the Report design view, on the ToolBar, click on the Sorting and Grouping icon and Enter the Department Name in the first row of the Field/Expression column. The Sort Order is the second column. Click OK and the sort order will take effect.
-
WSThomasW
AskWoody LoungerSeptember 5, 2002 at 2:31 pm in reply to: Relationships for Addresses – Simple Question??? (2000) #614383It seems natural and correct to me because of the need to add records to the many side of one to many relationships. I understood that it may feel like a lot of work at the onset, but it seems perfectly reasonable to me – probably an indication of how many times I’ve done it.
-
WSThomasW
AskWoody LoungerSeptember 5, 2002 at 2:15 pm in reply to: Relationships for Addresses – Simple Question??? (2000) #614377The use of a Main Form and subforms to represent the one to many relationships, as others have suggested, is your best approach. I understand that this may feel like a lot of work, but in order to represent those relationships and be able to add data, I can’t think of a more straight-forward approach. Linking these tables together in a select query is one thing. You can “see” the data just fine, but being able to add records on the many side of a relationship is quite another. It will all display on one form in the end, as the subforms are linked to the main form. Why don’t you do a quick test and see if this accomplishes your goal.
-
WSThomasW
AskWoody LoungerI use it for statistical reports. If I calculate the average for a set of data, I may also need to calculate the standard deviation. The standard deviation indicates how closely the data points relate to the average.
This may be more than you want to know, but this reference explains it quite well.
-
WSThomasW
AskWoody LoungerWhen I used the following WHERE clause, all records for August 29th of any year were returned:
WHERE (((DatePart(“m”,[tblA].[ApprovalDate]))=(DatePart(“m”,Date()))) AND ((DatePart(“d”,[tblA].[ApprovalDate]))=(DatePart(“d”,Date())));
If that is what you wanted, you don’t need to address the year, but you do need to address the day along with the month in your clause. -
WSThomasW
AskWoody LoungerTry the VB Round function. It returns a number rounded to a specified number of decimal places. The syntax is:
Round(expression [,numdecimalplaces]) -
WSThomasW
AskWoody LoungerYou want to Set Warnings Off. Set it back to On at the end of your macro or you will not receive warnings after the macro completes.
-
WSThomasW
AskWoody LoungerThe relationship between Project and Employee will be many to many, therefore you will need an intersection table between these. This intersection table will hold the key to the Project table, the key to the Employee table and other data specific to that Employee’s work on that Project, such as the time data for each “block” of work.
If a Project has many SubProjects, but a SubProject belongs to only one Project, the relationship between Project and SubProject is one to many. Hold the key to Project in the SubProject table.
If there is a place in which an Employee’s total time is held (let’s say on a weekly basis; as in 40 hours per week), you should be able to use queries against this design to get the information you want.
Is this enough to get you started?
-
WSThomasW
AskWoody LoungerIt did not occur to me that you might be trying to save a value in a table that was the same table referenced by your ComboBox. If this is the case, please refer to Mark’s comment and post back. We can help you find a way to do this that doesn’t break normalization rules.
-
WSThomasW
AskWoody LoungerI’m not clear on the logic that makes this decision, but On the AfterUpdate Event of the ComboBox, place an If statement that reads something like:
If Me!ComboBoxName = choice1(the value that determines a .25 should be placed) Then
Me!TextboxName = .25
Else If Me!ComboBoxName = choice2 (the value that determines a 1should be placed) Then
Me!TextboxName = 1
.. other choices continue here
End IfIf your TextBox is bound to the field in the table, the value will be stored.
If there are numerous choices, you may want to consider a Case statement instead.
Post back with a few more details if this isn’t helpful enough. -
WSThomasW
AskWoody LoungerThere are probably more graceful solutions, but on the OnClick Event of that button Count the number of records returned from your parameter query. If the Count = 0, give the user a message (use MsgBox) and do not open the form. When the Count >0, open the form as usual.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Which antivirus apps and VPNs are the most secure in 2025?
by
B. Livingston
29 minutes ago -
Stay connected anywhere
by
Peter Deegan
7 hours, 10 minutes ago -
Copilot, under the table
by
Will Fastie
1 hour, 57 minutes ago -
The Windows experience
by
Will Fastie
3 hours, 57 minutes ago -
A tale of two operating systems
by
Susan Bradley
5 hours, 55 minutes ago -
Microsoft : Resolving Blue Screen errors in Windows
by
Alex5723
9 hours, 17 minutes ago -
Where’s the cache today?
by
Up2you2
1 day ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
17 hours, 23 minutes ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
8 hours, 21 minutes ago -
Blocking Search (on task bar) from going to web
by
HenryW
1 day, 1 hour ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
1 day, 17 hours ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
1 day, 17 hours ago -
regarding april update and may update
by
heybengbeng
1 day, 19 hours ago -
MS Passkey
by
pmruzicka
21 hours, 23 minutes ago -
Can’t make Opera my default browser
by
bmeacham
2 days, 3 hours ago -
*Some settings are managed by your organization
by
rlowe44
1 day, 13 hours ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
2 days, 2 hours ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
2 days, 21 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
3 days, 6 hours ago -
AI slop
by
Susan Bradley
1 day ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
3 days, 8 hours ago -
Two blank icons
by
CR2
16 hours, 11 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
18 hours, 9 minutes ago -
End of 10
by
Alex5723
3 days, 19 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
2 days, 17 hours ago -
test post
by
gtd12345
4 days, 1 hour ago -
Privacy and the Real ID
by
Susan Bradley
3 days, 15 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
1 day, 18 hours ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
4 days, 5 hours ago -
Upgrading from Win 10
by
WSjcgc50
2 days, 17 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.