-
WSaccdb
AskWoody LoungerHi Hans,
I wasn’t being dense. Bad example.
Thanks again.
-
WSaccdb
AskWoody LoungerThanks for responding Hans and Charlotte.
From your posts forms do not have a rst property but, “It can be the name of a table, or the name of a query, or a SQL string.”
Any ideas on a naming convention as to how from the OnOpen Event of the form in DB2, I can let the form know that I am using the query from DB1.
I tried Me.RecordSource = dbs.QueryDefs(“qry_EditRecords”) Type mismatch.
Thanks
-
WSaccdb
AskWoody LoungerThanks for the info.
-
WSaccdb
AskWoody LoungerThanks Wendell, Hans, and Charlotte.
Hans, your code is just what I was looking for.
Wendell, when you use a library database how are you calling the functions and what type of overhead is there over a Novell and/or MS network?
Charlotte,
___________________________________________________________________
You totally lost me here. Do you mean pass the functions to the created *module*?
___________________________________________________________________Yes. My plan was to pass the entire function into the newly created module. Sorry for the confusion.
-
WSaccdb
AskWoody LoungerHi Charlotte,
Do you have detailed instructions or code that attaches to SQL Server Views from Access 97?
Thanks
-
WSaccdb
AskWoody LoungerHi Wendell,
Thanks for responding. I guess the answer is both.
The problem I am trying to solve:
I now have several functions that I use in most of my projects and my thought was to place them in a table. When beginning a new project I would like to select the functions I will use, auto-create one function, and pass the functions I will use in that project to the created function.
The academic exercise:
If a module can be created with DoCmd.RunCommand acCmdNewObjectModule, when and why would you use this, and how would you programmatically name and save the module?
-
WSaccdb
AskWoody LoungerTry importing the table from DB(A) into DB© bypassing DB(
.
-
WSaccdb
AskWoody LoungerThanks Sam. Your answer worked great.
-
WSaccdb
AskWoody LoungerPost your Macro to the list.
Right mouse click on your macro
Left mouse click on Save As/Export
Select “Save as Visual Basic Module”
Select Convert
Click on the Modules Tab
Copy and post the contents of the “Converted Macro- Your Macro Name”
-
WSaccdb
AskWoody LoungerNovember 1, 2002 at 3:55 pm in reply to: after add new record …how do I move cursor (Access 97) #628410This might help
Forms!NameOfYourForm![NameOfControlOnYourForm].SetFocus
-
WSaccdb
AskWoody LoungerNovember 1, 2002 at 3:29 pm in reply to: after add new record …how do I move cursor (Access 97) #628399Are you working with a form?
-
WSaccdb
AskWoody LoungerThe fastest would be for you to convey the username and password that you have been using.
But, for possible future use of the database and maintenance, you might want to create a group with the same permissions that you have. Make each site user a member of the group, or, create one user for each site if their are multiple users at each site.
Sometimes projects that have ended have been resurrected.
HTH
-
WSaccdb
AskWoody LoungerSeptember 17, 2002 at 1:45 pm in reply to: winNT dir exists – code not seeing the dir (word97 sr2b) #617494Try:
Dim strTempFolder as String
strTempFolder = Dir( “C:TempConvert”)
If strTempFolder = “” Then
MkDir strTempFolder
SetAttr “C:TempConvert”, vbHidden ‘ Set folder with hidden attribute.
End If -
WSaccdb
AskWoody LoungerYes. [Currentuser] is a special word to denote who is using the database at the moment. No, you don’t need any code to determine the [Currentuser].
Search on CurrentUser Function in the help files to get a detailed explanation.
-
WSaccdb
AskWoody LoungerSet the controls property for the controls you are going to turn on and off to Visible = False
In the OnCurrent event of your form
If ([CurrentUser] = “Bob”) Or ([CurrentUser] = “Jeff”) Then
Forms!Combobox1.Visible = True
Forms!Combobox2.Visible = True
End If[CurrentUser] holds the name of whoever logged in to the DB.
When Phil logs in the controls are all ready set to Visible = False
![]() |
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
-
inetpub : Microsoft’s patch for CVE-2025–21204 introduces vulnerability
by
Alex5723
5 hours, 53 minutes ago -
Windows 10 finally gets fix
by
Susan Bradley
14 hours, 46 minutes ago -
AMD Ryzen™ Chipset Driver Release Notes 7.04.09.545
by
Alex5723
16 hours, 6 minutes ago -
Win 7 MS Essentials suddenly not showing number of items scanned.
by
Oldtimer
10 hours, 39 minutes ago -
France : A law requiring messaging apps to implement a backdoor ..
by
Alex5723
1 day, 5 hours ago -
Dev runs Windows 11 ARM on an iPad Air M2
by
Alex5723
1 day, 6 hours ago -
MS-DEFCON 3: Cleanup time
by
Susan Bradley
59 minutes ago -
KB5056686 (.NET v8.0.15) Delivered Twice in April 2025
by
lmacri
1 day, 1 hour ago -
How to enable Extended Security Maintenance on Ubuntu 20.04 LTS before it dies
by
Alex5723
1 day, 17 hours ago -
Windows 11 Insider Preview build 26200.5562 released to DEV
by
joep517
1 day, 21 hours ago -
Windows 11 Insider Preview build 26120.3872 (24H2) released to BETA
by
joep517
1 day, 21 hours ago -
Unable to eject external hard drives
by
Robertos42
7 hours, 43 minutes ago -
Saying goodbye to not-so-great technology
by
Susan Bradley
1 hour, 35 minutes ago -
Tech I don’t miss, and some I do
by
Will Fastie
1 hour, 17 minutes ago -
Synology limits hard drives
by
Susan Bradley
3 days, 1 hour ago -
Links from Microsoft 365 and from WhatsApp not working
by
rog7
2 days, 3 hours ago -
WhatsApp Security Advisories CVE-2025-30401
by
Alex5723
3 days, 7 hours ago -
Upgrade Sequence
by
doneager
3 days ago -
Chrome extensions with 6 million installs have hidden tracking code
by
Nibbled To Death By Ducks
1 day, 6 hours ago -
Uninstall “New Outlook” before installing 2024 Home & Business?
by
Tex265
1 day, 23 hours ago -
The incredible shrinking desktop icons
by
Thumper
4 days, 4 hours ago -
Windows 11 Insider Preview Build 22635.5240 (23H2) released to BETA
by
joep517
4 days, 6 hours ago -
Connecting hard drive on USB 3.2 freezes File Explorer & Disk Management
by
WSJMGatehouse
1 day, 5 hours ago -
Shellbag Analyser & Cleaner Update
by
Microfix
22 hours, 40 minutes ago -
CISA warns of increased breach risks following Oracle Cloud leak
by
Nibbled To Death By Ducks
4 days, 15 hours ago -
Outlook 2024 two sent from email addresses
by
Kathy Stevens
1 hour, 6 minutes ago -
Speeding up 11’s search
by
Susan Bradley
2 days, 3 hours ago -
HP Pavilion Will Not Wake Up After Being Idle for Longer Period
by
WSwalterwood44
2 days, 15 hours ago -
Make a Windows 11 Local Account Passwordless
by
Drcard:))
5 days, 5 hours ago -
Ubuntu 25.04 (Plucky Puffin)
by
Alex5723
5 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.