I have a form that lists files according to dates. Is there a way to stop the form from repeating the same date over and over again. I want the date shown once, then all the files for that date. Then next date … Easy to do on a report. How do you do it on a form?
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
forms-repeating dates (97/SR2)
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » forms-repeating dates (97/SR2)
- This topic has 6 replies, 5 voices, and was last updated 21 years, 10 months ago.
AuthorTopicWSpaulbien
AskWoody LoungerMay 15, 2003 at 2:31 pm #387581Viewing 0 reply threadsAuthorReplies-
WSAlexya1
AskWoody LoungerMay 15, 2003 at 2:59 pm #676857I don’t know if this is the answer for you… but personally I’d use a subform control…
For example: The main form would be in Single Form view with the Date control in the Detail section…. Then I would place a subform control into the detail section… The subform would be in Continuous Forms view, showing the file data, linked on the Date field…Does that help at all??
-
WSpaulbien
AskWoody Lounger -
WSHansV
AskWoody LoungerMay 15, 2003 at 4:03 pm #676876You’re not going to like this, but I think you should reconsider your setup. Forms and reports have different purposes. Bound forms are for enterig. editing and viewing data. Each record must be complete. Reports are for presenting and summarizing data. In a report it makes sense to hide repeating data, in a form it doesn’t. By trying to make a form look like a report, you are trying to make it do something it wasn’t designed for.
-
WSSteveH
AskWoody Lounger -
WSbushaw
AskWoody LoungerMay 15, 2003 at 4:32 pm #676886Paul,
I agree with Hans 100%. However, if you HAVE to have this information on a form (rather than a report), one way to get what you want would be to create a temporary table (using a Make Table query) cloning your source table (list of file names and dates) with an added “dteNewDate” Date/Time field and with the records ordered the way you want them to appear in the form. Then use VBA code to scan through this table’s records (or through the results of an updatable query that orders the records the way you want them) and assign the Date field’s value to dteNewDate field if and only if the previous record’s date is different. Use this temporary table as your recordset for the form and dteNewDate as the Control Source for your date control. Of course, if you are using this form to update the table you’ll need to get the updated data back into your original table (in which case it might be a better strategy to create a related (one-to-one) table that provides the dteNewDate for records where the date has changed, null otherwise).
This, to me, is a bit cumbersome but if you need to use a form in a way it was not intended (as Hans has indicated), I guess you gotta pay the price.
Maybe there’s an easier way… Quoting Ben Stein: Anyone? …Anyone?
Good luck.
-
WSpaulbien
AskWoody Lounger
-
-
-
Viewing 0 reply threads -

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
-
YouTube Ad Blocker Blocker
by
bbearren
1 hour, 19 minutes ago -
Obscure historical facts about Windows
by
Cybertooth
2 hours, 47 minutes ago -
Microsoft Backup
by
Linda2019
3 hours, 17 minutes ago -
What is the best notepad++ version for W7?
by
Picky
5 hours, 40 minutes ago -
What are right steps to move MS 365 Office+OneDrive files from PC to iMac?
by
glnz
12 hours, 40 minutes ago -
How to move existing MS 365 Office with OneDrive files from PC to new iMac
by
glnz
12 hours, 42 minutes ago -
How to move MS 365 files (some on OneDrive) from PC to iMac
by
glnz
1 day, 7 hours ago -
Microsoft adding Quick Machine Recovery to Windows 11
by
Alex5723
1 day, 7 hours ago -
Microsoft vs Passwords
by
Alex5723
15 hours, 58 minutes ago -
Windows 11 Insider Preview build 26200.5516 released to DEV
by
joep517
1 day, 11 hours ago -
Windows 11 Insider Preview build 26120.3653 (24H2) released to BETA
by
joep517
1 day, 11 hours ago -
Two March KB5053606 updates?
by
Adam
1 day, 5 hours ago -
MS Edge Not Updating to v134.0.3124.95 (rel. 27-Mar-2025)
by
lmacri
1 day, 5 hours ago -
Intel® Graphics/Sound Driver updates for 7th-10th Gen Intel® Core™ Processor
by
Alex5723
1 day, 8 hours ago -
Is there a comprehensve way to tranfer ALL current Edge Settings into a new Edge
by
Tex265
1 day, 6 hours ago -
Transferring ALL info/settings from current Firefox to new computer Firefox
by
Tex265
1 day, 6 hours ago -
DOGE Wants to Replace SSA 60 Million Line COBOL Codebase in Months
by
EyesOnWindows
1 hour, 31 minutes ago -
KB5051989 Usb printer Post Ipp
by
licencesti
1 day, 23 hours ago -
Removing bypassnro
by
Susan Bradley
7 hours, 35 minutes ago -
Up to 30 seconds to show “Recent Topics”
by
PL1
1 day, 4 hours ago -
Sound changes after upgrade from W11 23H2
by
WStaylorpsepa
5 hours, 9 minutes ago -
Windows bug blocks BIOS updates for Lenovo ThinkPad laptops
by
Alex5723
2 days, 8 hours ago -
O&O Software – ‘World Backup Day’ Sale
by
unbob
2 days, 5 hours ago -
Still version 23H2?
by
WSbxcfilm
2 days, 9 hours ago -
Ubuntu 25.04 (Plucky Puffin) Beta released
by
Alex5723
2 days, 15 hours ago -
How to install App Store apps on an external SSD
by
Alex5723
2 days, 16 hours ago -
Where is Windows going?
by
Susan Bradley
7 hours, 49 minutes ago -
Installing Feature Update Windows 11 24H2
by
geekdom
3 days, 10 hours ago -
Windows 11 Insider Preview build 27823 released to Canary
by
joep517
3 days, 10 hours ago -
Windows 11 Hotpatch
by
Hackmuss
2 days, 17 hours ago
Recent blog posts
- Removing bypassnro
- Where is Windows going?
- System Guard service error still won’t be fixed
- Third party add ins reminder
- MS-DEFCON 4: Mixed bag for March
- Classic and Extended Control Panel — no need to say goodbye
- Things you can do in 2025 that you couldn’t do in 2024
- Revisiting Windows 11’s File Explorer
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.