-
WSstephan
AskWoody LoungerLike I said in my earlier post, Visual InterDev 6 For Dummies (when you’re just starting out) and then Visual InterDev 6 Unleashed (once you get beyond the basics).
However, note this: Visual InterDev as a development tool is gone in Visual Studio.NET. However, what you learn Visual InterDev, you can still apply all you know to ASP.NET. OTOH, you may just decide to skip learning Visual InterDev entirely and jump straight into ASP.NET — there are pros and cons to doing either, but it’s your decision.
-
WSstephan
AskWoody LoungerI’ve had crazy problems like this in subforms with listboxes and comboboxes not being requeried even though I issue the requery method.
One thing that worked for me was to programmatically set the RecordSource property for the form and/or RowSource property for the control AGAIN just BEFORE having the line of code doing the requery, i.e.,
Me.List99.RowSource = “SELECT whatever, etc., etc.”
Me.List99.RequeryLet me know if this works for you.
Stephan
-
WSstephan
AskWoody LoungerWhat OS are you using? Windows 2000? This sounds more like a Windows 2000 permissions problem than an Access security issue.
But first, you need to rule out that it’s not the Access security which is causing the problem. (I assume you didn’t create Access login security for this user. If so, none of the following applies.) In Access, go to User and Group Permissions under the Tools | Security menu. You should see only one user: Admin. Make sure that user has full rights for ALL the objects — the Database itself, Tables, Queries, Forms, Reports, etc.
If you find that the Admin user indeed has full rights, then like I said, your problem is most likely due to Windows 2000 (or whatever OS you’re using) permissions. In the directory where this DB is stored, make sure this user has full rights to the directory itself and this particular database file. You’ll have to log into Windows 2000 (or whatever OS you’re using) as an administrator in order to do this. I don’t remember all the particulars of setting permissions in Windows 2000, so you should consult your Windows documentation before doing this. Just remember, give this user full rights for that directory and the file itself.
Stephan
-
WSstephan
AskWoody LoungerApril 3, 2002 at 12:06 am in reply to: No MatchEntry property in Access combo boxes? (97/SR-2) #580085Thanks, it’s the AutoExpand property I want — this is analogous to the MatchEntry property in VB/VBA combo boxes. I love it when Microsoft doesn’t make things consistent.
Apparently, in my Access combo boxes which are exhibiting the aberrant AutoExpand behavoir, I have combo box Change event procedures, and when I rem’ed out the code, the AutoExpand behavoir of the combo boxes works fine — although NOTHING in my code altered the AutoExpand property! Looks like I found another Microsoft bug.
Thanks again for your reply,
Stephan
-
WSstephan
AskWoody LoungerJanuary 28, 2002 at 10:00 pm in reply to: Relationship headaches w/multiple-field PK (97/SR-2) #566746Bill,
Thanks for your reply. However, it turns out what I was trying to do is possible. Incredibly, the trick is simply to create the relationship FROM the 2-key table TO the 3-key table. If you try to do it the other way, Access thinks it’s an indeterminate relationship!
Thanks again,
Stephan
-
WSstephan
AskWoody LoungerJanuary 24, 2002 at 8:47 pm in reply to: NotInList event / add new record in a subform (97/SR-2) #565892Claus,
Holy cow, of course! Now why didn’t I think of that?
Stephan
-
WSstephan
AskWoody LoungerJanuary 24, 2002 at 8:06 pm in reply to: NotInList event / add new record in a subform (97/SR-2) #565867Claus,
I did some more tinkering and found the answer using the approach in your solution #2, and I did wind up using the OpenArgs property after all. The answer turned out to be relatively simple, but I couldn’t do it all through VBA code. I also had to create a simple macro.
In the frmClients Load event, I put the following code:
Private Sub Form_Load()
If Me.OpenArgs = “GotoNewSubform” Then
DoCmd.RunMacro “MacroNewSubformRecord”
End If
End SubThe macro MacroNewSubformRecord only has 2 actions:
GoToControl: [fsubMatters]
GoToRecord: NewIncredibly simple — however it’s just annoying I couldn’t do this 100% through code and had to resort to using a macro.
In any event, thanks again for your help.
Stephan
-
WSstephan
AskWoody LoungerJanuary 24, 2002 at 4:06 pm in reply to: NotInList event / add new record in a subform (97/SR-2) #565791Claus,
Thanks for your response.
In my case, I could only consider your possible solution #2 since Matters Clients is a one-to-many relationship, so having a fsubMatters subform in the frmClients form makes more sense than using a separate frmMatters form. If I did have a separate frmMatters form, I wouldn’t have a problem.
Essentially, I would have a line a code:
DoCmd.OpenForm “frmMatters”, acNormal, , , acAdd, acDialogin place of the line:
DoCmd.OpenForm “frmClients”, etc., etc.But since I’m using a subform, I do have a problem. My difficulty remains going to a new record in the subform. However, I am a little puzzled why you say I have to do this in the frmClients’ Open or Load event. In other words, I don’t see why I can’t also do this if frmClients is already open. For example, if frmClients is open and I want to go to a new record, this simple line of code does the trick:
DoCmd.GoToRecord acDataForm, “frmClients”, acNewRec
Again, what is infuriating is that I can’t figure out the syntax to go to a new record in a subform within the main form. This is all I need to do, and you’d think that this should also be pretty easy to do in Access.
Thanks again,
Stephan
-
WSstephan
AskWoody LoungerIf your users are updating and inserting data using forms, the answer’s easy. Simply use the AfterUpdate and AfterInsert event procedures in the forms.
However, if they’re updating and inserting data directly using queries or in the tables themselves, then I don’t know.
Stephan
-
WSstephan
AskWoody LoungerFrancois,
Thanks!
Using the recordsource property to change the second form’s record source was precisely the type of functionality I was looking for. I really appreciate your help.
Stephan
-
WSstephan
AskWoody LoungerFrancois,
Thanks for your reply.
Just to clarify, you’re right, there is no problem with the existing code. I just need to figure out how to do the same thing a different way. The reason for this is if you open the second form with a filter (as it’s being done in my current code), the user can remove the filter himself using Access’s Remove Filter/Sort command once the second form opens. I need to avoid this possibility.
That’s why I would like to make the underlying query for the second form a parameter query with a WHERE condition, and in my code pass the value to the parameter query when the second form opens.
I hope this clarifies what I’m trying to do.
Thanks again,
Stephan
-
WSstephan
AskWoody LoungerI want to thank you again for your help on this.
The problem here was really the limitations of what could happen in Outlook’s Send event, and even in Outlook 2000, I don’t know if this could work. (Of course, not having Outlook 2000 here, I can’t really test, but it’s a moot point, because I had to make this work in OL 97.)
Your idea to delete and then re-add the bad email addresses was a good one. It’s just unfortunate that OL’s Send event refuses to send and gives me an error message when I do that. Curiously enough, if I add error handling, the mail message will be sent, but I still get the error message (which is an unacceptable solution).
I also thought of a clunkier solution — which is to have the Item_Send function test for bad email addresses, then return FALSE if there are any, and then have the user click another Command Button to delete and re-add the bad emails, then have the user click the Send button again. Stupid, ugly and clunky, but i’tll work.
Thanks again.
Stephan
-
WSstephan
AskWoody LoungerThank you so much for getting back to me. I revised your code slightly (below) to work in Outlook 97/VBScript. Any invalid email addresses are in fact being to corrected to valid formats (and no I don’t mind losing the display name), which is good, but now the send operation is failing (after the email address gets corrected). I get an error message saying “The operation failed”.
I’m beginning to think what I’m trying to do (correct bad email address formats before sending) may be impossible to do programmatically in Outlook? Were you able to send the email successfully after your code ran?
Also, can you recommend some decent Outlook 97 documentation?
Thanks again,
Stephan
‘************************************** BEGIN CODE **************************************
Option Explicit‘ ————————————————————————
‘ Purpose: Traps the Item_Send event so that invalid email addresses in
‘ the format (name ) from InterAction get corrected.
‘
‘ Inputs: None
‘
‘ Written: 10/26/01 by Stephan Ip
‘ ————————————————————————
Function Item_Send()
Dim n
Dim strEmailAddr
Dim lngBeginBracket, lngEndBracket
Dim intRecipients‘ initialize
intRecipients = CInt(Item.Recipients.Count)‘ new array
Dim nameAddress()
ReDim nameAddress(2, intRecipients)‘ loop through all the recipients
For n = intRecipients To 1 Step -1
strEmailAddr = Item.Recipients(n).Address
lngBeginBracket = InStr(1, strEmailAddr, “”)
‘ test to see if email address has beginning and end brackets,
‘ which means it’s an invalid email address
If lngBeginBracket 0 And lngEndBracket 0 Then
‘ parse email address to strip it of the brackets
strEmailAddr = Mid(strEmailAddr, lngBeginBracket + 1, _
lngEndBracket – (lngBeginBracket + 1))
End If
‘ change email address to corrected parsed address
‘*** FOLLOWING LINE REM’ED OUT BECAUSE ADDRESS PROPERTY APPEARS TO BE READ-ONLY
‘*** EVEN THOUGH OUTLOOK VB HELP SAYS OTHERWISE
‘Item.Recipients(n).Address = strEmailAddr
‘ store new valid address and display name for adding later
nameAddress(1, n) = strEmailAddr
nameAddress(2, n) = Item.Recipients(n).Name
‘ delete bad address
Item.Recipients(n).Delete
Next‘ add valid addresses
For n = 1 To UBound(nameAddress, 2)
‘If nameAddress(1, n) vbNullString Then
If nameAddress(1, n) “” Then
Item.Recipients.Add nameAddress(1, n)
End If
Next
End Function -
WSstephan
AskWoody LoungerGary,
Thanks for your reply. You’re right on target — the problem does have to do with forms protection.
I did some digging and the culprit in my firm’s setup is Word’s integration with iManage. What’s happening here is that Word’s print command gets captured by a FilePrint procedure in the iManage code. For whatever reason, the code protects forms at the beginning of the procedure, then unprotects at the end (after printing has been completed). So this was what was causing the strange print behavoir.
Thank you for your tip to have to user specify the page number to print — that should make them happy for now until I can release the fixed code.
Take care,
Stephan
-
WSstephan
AskWoody LoungerLin,
Thanks for your response. I just started Word with the /a switch so that none of the global templates would load. The bug isn’t happening anymore.
Which means that the problem isn’t because of MS Word itself, but rather due to some integration glitch with either iManage or SoftWise.
Stephan
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
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
-
Dev runs Windows 11 ARM on an iPad Air M2
by
Alex5723
6 minutes ago -
MS-DEFCON 3: Cleanup time
by
Susan Bradley
12 minutes ago -
KB5056686 (.NET v8.0.15) Delivered Twice in April 2025
by
lmacri
2 hours, 42 minutes ago -
How to enable Extended Security Maintenance on Ubuntu 20.04 LTS before it dies
by
Alex5723
11 hours, 20 minutes ago -
Windows 11 Insider Preview build 26200.5562 released to DEV
by
joep517
15 hours, 18 minutes ago -
Windows 11 Insider Preview build 26120.3872 (24H2) released to BETA
by
joep517
15 hours, 20 minutes ago -
Unable to eject external hard drives
by
Robertos42
14 hours, 56 minutes ago -
Saying goodbye to not-so-great technology
by
Susan Bradley
8 hours, 37 minutes ago -
Tech I don’t miss, and some I do
by
Will Fastie
3 hours, 14 minutes ago -
Synology limits hard drives
by
Susan Bradley
1 day, 19 hours ago -
Links from Microsoft 365 and from WhatsApp not working
by
rog7
21 hours, 57 minutes ago -
WhatsApp Security Advisories CVE-2025-30401
by
Alex5723
2 days, 1 hour ago -
Upgrade Sequence
by
doneager
1 day, 18 hours ago -
Chrome extensions with 6 million installs have hidden tracking code
by
Nibbled To Death By Ducks
31 minutes ago -
Uninstall “New Outlook” before installing 2024 Home & Business?
by
Tex265
17 hours, 45 minutes ago -
The incredible shrinking desktop icons
by
Thumper
2 days, 22 hours ago -
Windows 11 Insider Preview Build 22635.520 (23H2) released to BETA
by
joep517
3 days ago -
Connecting hard drive on USB 3.2 freezes File Explorer & Disk Management
by
WSJMGatehouse
1 day, 19 hours ago -
Shellbag Analyser & Cleaner Update
by
Microfix
1 day, 9 hours ago -
CISA warns of increased breach risks following Oracle Cloud leak
by
Nibbled To Death By Ducks
3 days, 9 hours ago -
Outlook 2024 two sent from email addresses
by
Kathy Stevens
2 days, 14 hours ago -
Speeding up 11’s search
by
Susan Bradley
21 hours, 47 minutes ago -
HP Pavilion Will Not Wake Up After Being Idle for Longer Period
by
WSwalterwood44
1 day, 9 hours ago -
Make a Windows 11 Local Account Passwordless
by
Drcard:))
3 days, 23 hours ago -
Ubuntu 25.04 (Plucky Puffin)
by
Alex5723
4 days, 7 hours ago -
24H2 fixed??
by
CWBillow
2 days, 23 hours ago -
Uninstalr Updates
by
jv16
4 days, 12 hours ago -
Apple zero days for April
by
Susan Bradley
8 hours, 50 minutes ago -
CVE program gets last-minute funding from CISA – and maybe a new home
by
Nibbled To Death By Ducks
3 days, 9 hours ago -
Whistleblower describes DOGE IT dept rumpus at America’s labor watchdog
by
Nibbled To Death By Ducks
5 days, 10 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.