-
WSJohnMichael
AskWoody LoungerHi Charlotte,
No I didn’t inherit the database but have built it very slowly since 1995 and in that time have managed without code. The present database actually comprises of 80 tables that are used regulary the others are backups or for test purposes, 170 queries, 67 forms and 86 reports. One reason you might consider the database is quiet big is because I am using one database for every office task from accounts to motor reports. Possibly I need to split them up into different databases? When I say one database it’s actually two because I have my tables seperate to the queries, forms and reports.
After reading a book (in the last two weeks) by J R Carter on Access, SQL and Vb I now know a bit more about code and SQL and with the aid of a book or by copying similar code and them modifying it to suit I am sure I could make something happen, I am just not sure what! Its not really the lines of code,within reason, but where to put it and how to start. I don’t know enough to see the big picture.
With regard to my Append Query problem. At the moment I click a comand button which runs a query that asks me for the month number, I enter the number click ok and approx 50 (at this time) new invoices are added to my invoice table. They are correct in every way, descriptive text, cost, date customer etc except for the invoice number which at this time is null (but could be the last number plus one for all the new invoices). I envisage adding code to this command button to run another query on the invoice table after the new records have been added to look for Null invoice numbers. Then do something like Do While Not EOF etc. The problem is what instructions do I put between this and Loop to make it add the correct invoice number to these new records? Thanks JohnMichael. -
WSJohnMichael
AskWoody LoungerThanks for replying to my append query problem WendellB but I really need to use code because I don’t know the implications of changing to an autonumber. There are 5000 invoices in my invoice table and the database comprises of 95 tables, although not all related! I might solve one problem and create a whole lot more. Anyway the knowledge could be usefull because I use the DMax +1 on quiet a few of my forms. Thanks once again. JohnMichael.
![]() |
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
-
Slow Down in Windows 10 performance after March 2025 updates ??
by
arbrich
3 hours, 47 minutes ago -
Mail from certain domains not delivered to my outlook.com address
by
pumphouse
6 hours, 13 minutes ago -
Is data that is in OneDrive also taking up space on my computer?
by
WShollis1818
13 hours, 53 minutes ago -
Nvidia just fixed an AMD Linux bug
by
Alex5723
1 day, 8 hours ago -
50 years and counting
by
Susan Bradley
5 hours, 31 minutes ago -
Fix Bluetooth Device Failed to Delete in Windows Settings
by
Drcard:))
14 hours, 51 minutes ago -
Licensing and pricing updates for on-premises server products coming July 2025
by
Alex5723
1 day, 19 hours ago -
Edge : Deprecating window.external.getHostEnvironmentValue()
by
Alex5723
1 day, 19 hours ago -
Rethinking Extension Data Consent: Clarity, Consistency, and Control
by
Alex5723
1 day, 19 hours ago -
OneNote and MS Word 365
by
CWBillow
1 day, 21 hours ago -
Ultimate Mac Buyers Guide 2025: Which Mac is Right For You?
by
Alex5723
1 day, 21 hours ago -
Intel Unison support ends on Windows 11 in June
by
Alex5723
1 day, 21 hours ago -
April 2025 — still issues with AMD + 24H2
by
Kevin Jones
1 day, 21 hours ago -
Windows 11 Insider Preview build 26200.5518 released to DEV
by
joep517
2 days, 9 hours ago -
Windows 11 Insider Preview build 26120.3671 (24H2) released to BETA
by
joep517
2 days, 9 hours ago -
Forcing(or trying to) save Local Documents to OneDrive
by
PateWilliam
2 days, 18 hours ago -
Hotpatch for Windows client now available (Enterprise)
by
Alex5723
2 days, 6 hours ago -
MS-DEFCON 2: Seven months and counting
by
Susan Bradley
1 day, 7 hours ago -
My 3 monitors go black & then the Taskbar is moved to center monitor
by
saturn2233
3 days, 3 hours ago -
Apple backports fixes
by
Susan Bradley
2 days, 9 hours ago -
Win 11 24H2 will not install
by
Michael1950
1 day, 7 hours ago -
Advice to convert MBR to GPT and install Windows 11 Pro on unsupported PC
by
Andy M
1 hour ago -
Photos from iPhone to Win 10 duplicating/reformatting to .mov
by
J9438
1 day, 15 hours ago -
Thunderbird in trouble. Here comes Thundermail
by
Alex5723
3 hours, 29 minutes ago -
Get back ” Open With” in context menus
by
CWBillow
3 days, 17 hours ago -
Many AMD Ryzen 9800X3D on ASRock have died
by
Alex5723
2 days, 9 hours ago -
simple general stupid question
by
WSaltamirano
3 days, 15 hours ago -
April 2025 Office non-Security updates
by
PKCano
4 days, 8 hours ago -
Microsoft wants to hear from you
by
Will Fastie
1 day, 23 hours ago -
Windows 11 Insider Preview Build 22635.5160 (23H2) released to BETA
by
joep517
4 days, 12 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.