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 22 years 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
-
KB5058379 / KB 5061768 Failures
by
crown
59 minutes ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
1 hour, 7 minutes ago -
At last – installation of 24H2
by
Botswana12
1 hour, 52 minutes ago -
MS-DEFCON 4: As good as it gets
by
Susan Bradley
11 minutes ago -
RyTuneX optimize Windows 10/11 tool
by
Alex5723
14 hours, 4 minutes ago -
Can I just update from Win11 22H2 to 23H2?
by
Dave Easley
7 hours, 23 minutes ago -
Limited account permission error related to Windows Update
by
gtd12345
1 day, 3 hours ago -
Another test post
by
gtd12345
1 day, 3 hours ago -
Connect to someone else computer
by
wadeer
22 hours, 3 minutes ago -
Limit on User names?
by
CWBillow
1 day, 1 hour ago -
Choose the right apps for traveling
by
Peter Deegan
15 hours, 3 minutes ago -
BitLocker rears its head
by
Susan Bradley
23 hours, 38 minutes ago -
Who are you? (2025 edition)
by
Will Fastie
53 minutes ago -
AskWoody at the computer museum, round two
by
Will Fastie
17 hours, 26 minutes ago -
A smarter, simpler Firefox address bar
by
Alex5723
1 day, 13 hours ago -
Woody
by
Scott
1 day, 23 hours ago -
24H2 has suppressed my favoured spider
by
Davidhs
22 hours, 43 minutes ago -
GeForce RTX 5060 in certain motherboards could experience blank screens
by
Alex5723
2 days, 13 hours ago -
MS Office 365 Home on MAC
by
MickIver
2 days, 7 hours ago -
Google’s Veo3 video generator. Before you ask: yes, everything is AI here
by
Alex5723
3 days, 3 hours ago -
Flash Drive Eject Error for Still In Use
by
J9438
2 hours, 28 minutes ago -
Windows 11 Insider Preview build 27863 released to Canary
by
joep517
3 days, 22 hours ago -
Windows 11 Insider Preview build 26120.4161 (24H2) released to BETA
by
joep517
3 days, 22 hours ago -
AI model turns to blackmail when engineers try to take it offline
by
Cybertooth
3 days, 2 hours ago -
Migrate off MS365 to Apple Products
by
dmt_3904
3 days, 2 hours ago -
Login screen icon
by
CWBillow
2 days, 17 hours ago -
AI coming to everything
by
Susan Bradley
7 hours, 54 minutes ago -
Mozilla : Pocket shuts down July 8, 2025, Fakespot shuts down on July 1, 2025
by
Alex5723
4 days, 14 hours ago -
No Screen TurnOff???
by
CWBillow
4 days, 14 hours ago -
Identify a dynamic range to then be used in another formula
by
BigDaddy07
4 days, 15 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.