-
WSJayden
AskWoody LoungerUse an ‘image’ data type.
This ‘image’ data type will hold binary data including ms word, and excel documents.
For more information you can find details in books online (downloadable from MS).
Cheers
-
WSJayden
AskWoody LoungerAlong with explicitly declaring either ADO or DAO, make sure that you have the DAO library referenced in the project.
From the VBA Window, goto Tools –> References and check (select) the Microsoft DAO 2.6 reference.
Cheers
Jayden
-
WSJayden
AskWoody LoungerJanuary 27, 2002 at 1:53 am in reply to: Found: 2000 / 2002 incompatability (AXP 10.2627.2625) #566448I notice that you have used the values (2,4,6) etc, instead of using vbMonday etc.
Just a small point that I thought that I would comment on.
This isn’t the best thing to do, because it isn’t guaranteed that later versions of Access will have the weekday function that returns the value for Monday evaluate to 2 – but it should always evaluate to the vbMonday constant. This is why MS include these types of constants.
Cheers
Jayden
-
WSJayden
AskWoody LoungerJanuary 26, 2002 at 8:36 pm in reply to: Found: 2000 / 2002 incompatability (AXP 10.2627.2625) #566416Do you have both 2000 and 2002 installed on the same machine?
I wonder if this could be the cause, as I found that having 97 and 2000 installed on the same machine produced funny things like this also.
Jayden
-
WSJayden
AskWoody LoungerI think what it looks like you need is actually a ‘work-order’ table, with the work-order number an auto-number field. The work-order table would be in a one-to-many relationship with the customers table, with the customer table being the one side of the relationship.
The work-order table would contain the customer number, the work order number and any details you wish to record about that particular work order itself.
I think that you are perhaps going about it the wrong way wanting to print a new number each time a work order is printed…what happens if you want to reprint a work order, it would be given a different number, which is not true as it would just be a reprint.
-
WSJayden
AskWoody LoungerYou may also be able to use the Print Event of the detail section of the report…if you only wish to increment the number each time the report is printed, rather than run?
What do others think?
-
WSJayden
AskWoody LoungerI’m not certain if I understand exactly what it is that you are trying to do? I assume that you just want a number on a report to be incremented by 1 each time you run or print the report?
You say that you do not need to keep the number is a table? I’m not sure what you mean by this, as the easiest way to remember what number you are up to each time is to store the number is a table.
I would use the Reports Open event to access a table and determine the next report value from that table and set a variable to hold the value. Then from the control on the report that I would want to display this number, I would reference a function which returns the current value of the variable.
Does this make any sense?
-
WSJayden
AskWoody LoungerAs an aside, at work we have an Acc 2000 database without any memo fields and it needs repairing on a regular basis (about monthly).
I suspect this high rate of failure is due to
(i) 3 data entry operators entering into database
(ii) resonably large databaseThe option to automatically compact on close is a good one – hadn’t even thought of this…isn’t it funny how sometimes the obivous answers are the ones that you miss
Thanks heaps Charlotte this should deal to the potential problem.
J
-
WSJayden
AskWoody LoungerDunno, thinking on my feet now
How about in the ‘corrupt’ database, create this code
Public Function DisplayCorruptForms ()
Dim frm as Form
Dim db as Database
On Error Resume Next
set db = CurrentDB
For each frm in db.Forms
docmd.openform frm.name
If err.number 0 Then
debug.print frm.name
err.number = 0
Else
DoCmd.Close acForm, frm.name
End If
Next frm
End FunctionRun this function and it will display those forms names that can’t be opened in the immediate window.
-
WSJayden
AskWoody LoungerNo problem, it’s always fun
to help others out. I only wish that I had a resource like this when I was starting to learn Access, it would have reduced many hours trying to decipher the MS Help files.
-
WSJayden
AskWoody LoungerIn fact, from memory it was actually a Report rather than a form…but same difference
-
WSJayden
AskWoody LoungerI think what I had to do in the end was create an entirely new mdb then import all object apart from the one form that was corrupt.
-
WSJayden
AskWoody LoungerI’ve seen form corruption in Acc 2K, where the form just wouldn’t open in form view, and when you tried to open it in design view, an error message ( I can’t remember what it was) just popped up and wouldn’t let me get at it. Had to start the form from stratch.
Sorry not much help, but I do have sympathy for you
-
WSJayden
AskWoody LoungerI think that there are questions as to why users would or should be creating modules in an application??
If they are ‘power’ users creating modules for advanced functions on reporting, then perhaps you should be encouraging them to create modules in a reporting version of the database, rather than the ‘front-end’ application.
For users that create modules, what happens to their modules when you update the version of their database, their modules would be lost.
Another point is that most people distribute their applications as mde’s because they are compiled…which means that users can’t get in and change stuff in forms, modules etc AND Access runs an mde faster than and mdb so there are performance issues. Again this wouldn’t stop ‘power users’ wishing to report on the database from linking a seperate mdb that they ‘own’ and they could create modules until the cows come home.
-
WSJayden
AskWoody LoungerI certainly try and make any applications that I write in Access work without the toolbars.
For search and filter options, usually it is only 1 or 2 fields that you ever want to ‘filter’ or rather ‘find’ on. I usually build this into the database via a nice big clear button and have code do what needs to be done in the background.
Admittedly, this creates a little bit of extra work, but I think is a nicer solution in the long run.
What does everyone else think?
![]() |
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
-
Where’s the cache today?
by
Up2you2
15 hours, 19 minutes ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
8 hours, 4 minutes ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
9 hours, 50 minutes ago -
Blocking Search (on task bar) from going to web
by
HenryW
16 hours ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
1 day, 8 hours ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
1 day, 8 hours ago -
regarding april update and may update
by
heybengbeng
1 day, 10 hours ago -
MS Passkey
by
pmruzicka
12 hours, 5 minutes ago -
Can’t make Opera my default browser
by
bmeacham
1 day, 17 hours ago -
*Some settings are managed by your organization
by
rlowe44
1 day, 4 hours ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
1 day, 16 hours ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
2 days, 12 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
2 days, 21 hours ago -
AI slop
by
Susan Bradley
15 hours, 20 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
2 days, 22 hours ago -
Two blank icons
by
CR2
6 hours, 53 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
8 hours, 51 minutes ago -
End of 10
by
Alex5723
3 days, 10 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
2 days, 8 hours ago -
test post
by
gtd12345
3 days, 16 hours ago -
Privacy and the Real ID
by
Susan Bradley
3 days, 6 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
1 day, 8 hours ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
3 days, 20 hours ago -
Upgrading from Win 10
by
WSjcgc50
2 days, 8 hours ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
2 days, 11 hours ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
4 days, 12 hours ago -
The story of Windows Longhorn
by
Cybertooth
4 days ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
4 days, 14 hours ago -
Are manuals extinct?
by
Susan Bradley
1 day, 14 hours ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
4 days, 23 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.