-
WSMarkLiquorman
AskWoody LoungerWell, considering there is no “department field”, you are going to have a problem.
Assuming there will be one, first remove any sorting. Then, select each column for sorting in the reverse order you want; that is, if you wanted to sort by “Department” and then by “Item”, you’d first sort the “Item” column and then the “Department” column.
Beyond that, you don’t have a database here; you don’t have much more than a spreadsheet. There is a litany of glaring problems immediately visible: your Food table doesn’t have a Primary Key; you defined your Quanity (I assume this was supposed to be Quantity) as a text field which eliminates doing anything like using this for totals and such; nothing is indexed; you shouldn’t be entering data directly into a table, you should be using forms for data entry; etc.
I’m assuming this is your first foray with a relational database. This is not something you can easily pick-up on your own. I’d strongly suggest you take a class to get you started-off on the right foot. Quite frankly, you aren’t likely to get much help from anyone in this or any other forum, because although many of us are here to help people with their questions, we don’t have the time to teach Access to anyone.
-
WSMarkLiquorman
AskWoody LoungerJust so we are clear on the situation, most of the settings being saved to the registry are user-specific. When I save them in the database, they are still user-specific. This does have the advantage in that it doesn’t matter where that user logs-in to the database, the settings are always there.
My concern isn’t about performance or “portability”. I was specifically concerned about the advisability of using these frequent updates to the registry. I guess old habits are hard to shake, so I think I’m agreeing with JoeP who said “In modern Windows registry bloat is not the concern it used to be. That said, unnecessary registry updates are just not a good idea.”
-
WSMarkLiquorman
AskWoody LoungerI assume you are doing this during data entry, probably in the Before Insert event of a form. Knowing nothing else about your data, start with this query (I’m assuming the fields are RecordNo, Field1, Field2):
SELECT Field2 FROM tblData Left Join (SELECT Max(RecordNo) AS MaxOfRecordNo FROM tblData) AS sq ON tblData.RecordNo=sq.MaxOfRecordData
Let’s save this as “qryLastReading”, so in the BeforeInsert Event you’d have:
Field1 = DLookup(“Field2″,”qryLastReading”) -
WSMarkLiquorman
AskWoody LoungerAre you talking about upgrading the databases, or just upgrading the version of Access you are using? If the later, I don’t see any problem. If the former, your other users might not be able to use the database.
-
WSMarkLiquorman
AskWoody LoungerAugust 26, 2015 at 9:22 pm in reply to: Converting single comma-separated row into multiple rows (Access 2010) again #1525156Glad to help. Good luck with it.
-
WSMarkLiquorman
AskWoody LoungerAugust 26, 2015 at 10:11 am in reply to: Converting single comma-separated row into multiple rows (Access 2010) again #1525085To run it from Access, your code would be a lot simpler, something like:
set rs=currentdb.openrecordset(“SELECT CompanyID, ZipCode FROM tblCompany WHERE ZipCode Is Not Null”,dbopendynaset)
do while rs.eof = false
varzip = split(rs!ZipCode,”,”)
For N=0 to ubound(varzip)
currentdb.execute “INSERT INTO tblCompanyZip (CompanyID, Zip) VALUES (” & rs!CompanyID & “,” & varzip(n) & “)”
Next
rs.movenext
loop -
WSMarkLiquorman
AskWoody LoungerI’m curious as to why some companies are not represented in the test result. For example, I didn’t see any recent testing of Symantec products in the AV Comparative results (apparently last tested in 2010?) or VB100. TrendMicro ranked very high on AV Comparative results, but didn’t appear at all on VB100 testing.
Can we infer anything from their absence?
-
WSMarkLiquorman
AskWoody LoungerFor a box, are you coloring the border or the background?
Here’s one example: Me.YourControlName.BorderColor=RGB(YourRedValue, YourGreenValue, YourBlueValue)
-
WSMarkLiquorman
AskWoody LoungerIt might not help, but you can try to run JetComp to repair the database, it can be found on Microsoft website.
Were you able to import anything to the new database? What are you trying to recover? Tables, forms, code?
-
WSMarkLiquorman
AskWoody LoungerAll form_Load does is set the rowsource of what I assume is a listbox. I’m not even sure why that is necessary, just set the rowsource of the listbox in design mode.
When do those other procedures get run?
-
WSMarkLiquorman
AskWoody LoungerThe Watch may truncate; so in case it might, try this:
Assuming you had some existing query (maybe something like “qrySelect”), I’d do this prior to opening the recordset:
CurrentDB.QueryDefs(“qrySelect”).SQL = strSQL
If your code fails again, examine this query.
-
WSMarkLiquorman
AskWoody LoungerIf all 4 notes records have the same value, then this seemingly would be solved by just putting a control in the header where its controlsource is that NoteDateTime field. When Access prints the header, it is looking at the first record in the group, so that’s what it will display there.
-
WSMarkLiquorman
AskWoody LoungerJune 7, 2015 at 9:01 pm in reply to: Coding between a new data form and a main form combo box #1508746If your combobox is on your main form, requerying it is as simple as:
Forms!frmEntries!cboIDNames.Requery
-
WSMarkLiquorman
AskWoody LoungerMany local colleges often have “Business Education” programs that offer courses on topics like Access. Often they are held at night or on weekends; depending on how often they meet, they usually last only a few weeks, so its not like enrolling for a semester.
-
WSMarkLiquorman
AskWoody LoungerThanks for stopping by to lecture us on all the things we obviously didn’t know because we only started using Access last week.
![]() |
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
-
89 million Steam account details just got leaked,
by
Alex5723
5 hours, 33 minutes ago -
KB5058405: Linux – Windows dual boot SBAT bug, resolved with May 2025 update
by
Alex5723
5 hours, 42 minutes ago -
A Validation (were one needed) of Prudent Patching
by
Nibbled To Death By Ducks
8 minutes ago -
Master Patch Listing for May 13, 2025
by
Susan Bradley
6 hours, 23 minutes ago -
Installer program can’t read my registry
by
Peobody
6 hours, 56 minutes ago -
How to keep Outlook (new) in off position for Windows 11
by
EspressoWillie
19 hours, 11 minutes ago -
Intel : CVE-2024-45332, CVE-2024-43420, CVE-2025-20623
by
Alex5723
1 hour, 48 minutes ago -
False error message from eMClient
by
WSSebastian42
16 hours, 49 minutes ago -
Awoke to a rebooted Mac (crashed?)
by
rebop2020
1 day, 1 hour ago -
Office 2021 Perpetual for Mac
by
rebop2020
1 day, 3 hours ago -
AutoSave is for Microsoft, not for you
by
Will Fastie
2 hours, 55 minutes ago -
Difface : Reconstruction of 3D Human Facial Images from DNA Sequence
by
Alex5723
1 day, 6 hours ago -
Seven things we learned from WhatsApp vs. NSO Group spyware lawsuit
by
Alex5723
7 hours, 40 minutes ago -
Outdated Laptop
by
jdamkeene
1 day, 12 hours ago -
Updating Keepass2Android
by
CBFPD-Chief115
1 day, 17 hours ago -
Another big Microsoft layoff
by
Charlie
1 day, 17 hours ago -
PowerShell to detect NPU – Testers Needed
by
RetiredGeek
20 hours, 34 minutes ago -
May 2025 updates are out
by
Susan Bradley
10 hours, 12 minutes ago -
Windows 11 Insider Preview build 26200.5600 released to DEV
by
joep517
1 day, 23 hours ago -
Windows 11 Insider Preview build 26120.3964 (24H2) released to BETA
by
joep517
1 day, 23 hours ago -
Drivers suggested via Windows Update
by
Tex265
1 day, 23 hours ago -
Thunderbird release notes for 128 esr have disappeared
by
EricB
1 day, 20 hours ago -
CISA mutes own website, shifts routine cyber alerts to X, RSS, email
by
Nibbled To Death By Ducks
2 days, 6 hours ago -
Apple releases 18.5
by
Susan Bradley
2 days ago -
Fedora Linux 40 will go end of life for updates and support on 2025-05-13.
by
Alex5723
2 days, 7 hours ago -
How a new type of AI is helping police skirt facial recognition bans
by
Alex5723
2 days, 8 hours ago -
Windows 7 ISO /Windows 10 ISO
by
ECWS
16 hours, 32 minutes ago -
No HP software folders
by
fpefpe
2 days, 15 hours ago -
Which antivirus apps and VPNs are the most secure in 2025?
by
B. Livingston
1 day, 13 hours ago -
Stay connected anywhere
by
Peter Deegan
2 days, 21 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.