-
WSCecilia
AskWoody LoungerApril 18, 2002 at 3:07 pm in reply to: Why can’t I copy the current database? (Access 97 SR2) #583178Thanks, but that defeats the object of doing everything from within the admin panel. He wanted them to click a button and have the file copied, done.
-
WSCecilia
AskWoody LoungerApril 18, 2002 at 1:22 pm in reply to: Why can’t I copy the current database? (Access 97 SR2) #583152Hi Charlotte–
Why am I trying to do it? Because my boss told me to 😉
Basically, this db updates a db for another program. That’s the user side. Then there’s an admin side, which has options for distributing the database, one of which is to email it to the users. My boss decided that the other option would be that an admin would want to put the db onto a floppy and run around to everyone’s pc to update it. Therefore, we would need a save button that copies the program to a floppy.
Sometime yesterday I told him that the cost/benefit of such a button wasn’t there. So I included instructions on how to open Win Explorer and copy it to a floppy. Yes, he does require that level of detail 😉
But overall, it just doesn’t make sense to me that I can attach the current db but I can’t copy it. Oh, well, I guess not everything has to make sense 😉
Thanks!
Cecilia 🙂
-
WSCecilia
AskWoody LoungerI’m not sure what you’re doing with the results of the combo box, but if you’re displaying records based on the choice, you can always write code that combines the two (ie. cboMyCombo.Column(1) & cboMyCombo.Column(2)) and combines them in the destination for comparison.
I know, clear as mud. But it would help to know what step you’re doing next.
-
WSCecilia
AskWoody LoungerYou’re welcome 🙂
-
WSCecilia
AskWoody LoungerYou’ll have to check how many columns you are using in the combo and which column is bound. Since you have so many columns in the query behind the combo, my guess is that you’ve made RetailerNumber the bound column rather than the combination of RetailerStoreNumber. When the user selects from the combo, only RetailerNumber is passed and it’s just selecting the first record that relates to RetailerNumber, which is Store 0001.
Also, is your calculated column also available in the records that you want to go to? You might have to create a single unique key that is available in both and use that to refer to the next step (you didn’t say what you’re doing with the combo data once a selection is made).
Let me know how you make out.
Cecilia 🙂
-
WSCecilia
AskWoody LoungerIs it that you physically can’t select other stores from the combo, or when you select a store it always does the next process as if you’ve chosen the first store?
-
WSCecilia
AskWoody LoungerCan you post the query? Or something else that will give more information?
-
WSCecilia
AskWoody LoungerOooh! Working on Sunday????
Basically, I started with not wanting the page to jump. If I don’t have a bookmark for the area I want re-calculated, the whole document will run the macro (even if it’s just to find out that nothing should happen) and the whole thing will appear to jump. It still jumps with this solution, just not nearly as much as it did before.
The code just grew as I realized that every time you fill out a field, it becomes re-calcuable. I still have some more cases to take care of, but I’ve sent it out to be reviewed first, to make sure this is the approach we want. I’m sure they’ll provide me with a list of things I didn’t handle in the code 😉
Setting the range without selecting it sounds like a fine idea. That’ll probably also help with the jumping issues. Ahhh, it’s Monday and I still can’t wrap my mind around these things! 😉
Thanks for your help!
Cecilia
-
WSCecilia
AskWoody LoungerI think this does what you’re referring to, but if you can find a way to make it better, I’d sure appreciate it!
Cecilia
Sub calcPercent() Dim afield As FormField Dim strValue As String Dim strTemp As String Dim blnNegative As Boolean Dim rng As Range blnNegative = False ActiveDocument.Bookmarks("percents").Select Set rng = Selection.Range For Each afield In rng.FormFields If Left$(afield.Name, 3) = "per" Then strValue = afield.Result If strValue "" Then If Right$(strValue, 1) = "%" Then strValue = Left$(strValue, Len(strValue) - 1) End If If Left$(strValue, 1) = "-" Then blnNegative = True strValue = Mid$(strValue, 2) End If If Left$(strValue, 1) = "(" Then blnNegative = True strValue = Mid$(strValue, 2, Len(strValue) - 1) End If If InStr(strValue, ".") = 0 Then strValue = strValue & ".00" Else strTemp = Mid$(strValue, InStr(strValue, ".") + 1) strValue = Left$(strValue, InStr(strValue, ".")) If strValue = "." Then strValue = "0" & strValue If Len(strTemp) < 2 Then strTemp = strTemp + "00" End If strTemp = Left$(strTemp, 2) strValue = strValue & strTemp End If If blnNegative = True Then strValue = "(" & strValue & ")" End If strValue = strValue & "%" afield.Result = strValue End If End If Next afield End Sub
-
WSCecilia
AskWoody LoungerYeah, I saw that answer, but unfortunately I can’t use it, as some ofthe fields are optional. I wish there were some way to access each individual field, but what I ended up doing was each time one of those fields was accessed, I ran code to change the answer to what I want. Unfortunately, since Selection wouldn’t work, I had to do it with ActiveDocument, so the whole process takes much longer than it should. Uggggh.
-
WSCecilia
AskWoody LoungerFebruary 15, 2002 at 4:16 pm in reply to: Database Container on Startup (Access 97 on Win 98) #570602Actually, that’s what I did–I scrapped the startup thing and gave the Admins a password protected hidden entrance. Not exactly what I was hoping for, but it functions for what I need.
Thanks 😉
-
WSCecilia
AskWoody LoungerFebruary 14, 2002 at 8:02 pm in reply to: Database Container on Startup (Access 97 on Win 98) #570419Hee hee! Yeah, that’s evident. At least for some of the properties (If I open the db as a User, it lets me see the toolbar 100% of the time, whereas it should be at least 50% of the time). But this default changing properties for the next time is not what I want it to do. Oh, well.
-
WSCecilia
AskWoody LoungerFebruary 14, 2002 at 7:52 pm in reply to: Database Container on Startup (Access 97 on Win 98) #570402Hi Wendell–
Actually, this is exactly what I was trying to do. I locked down the db and then if the user was an Admin, opened it up. Worked great in theory, but not in practice. No matter what I did, the toolbar showed up as a User (even though it was turned off in the startup options) and either did or didn’t show up as an Admin. To get the thing off my plate, I ended up doing something else altogether. But just to update you on that particular situation, I did read about doing it from the Startup dialog (ie. in a form), but that didn’t work either.
I’m just going to write it off as a MS “feature” and move on. I’m happier with the new design anyway.
Thanks for asking, & happy Valentine’s!
Cecilia
-
WSCecilia
AskWoody LoungerOkay, you can’t do that to do your homework. And especially since the answer is available to you right in the help menu.
-
WSCecilia
AskWoody LoungerFrom Access Help:
DateAdd(interval, number, date)Therefore, this adds 10 days to today:
mydate = DateAdd(“d”, 10, Date)I’m assuming that it’s the same between 2000 and 97….
![]() |
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
-
Practice what you preach! A cautionary tale.
by
RetiredGeek
1 hour, 10 minutes ago -
Looking for Microsoft Defender Manuals/Tutorial
by
blueboy714
7 hours, 43 minutes ago -
Win 11 24H2 Home or Pro?
by
CWBillow
6 hours, 40 minutes ago -
Bipartisan Effort to Sunset the ‘26 Words That Created the Internet’..
by
Alex5723
16 hours, 10 minutes ago -
Outlook new and edge do not load
by
cHJARLES a pECKHAM
1 day, 4 hours ago -
Problem using exfat drives for backup
by
Danmc
1 day, 4 hours ago -
I hate that AI is on every computer we have!
by
1bumthumb
6 hours, 23 minutes ago -
Change Info in the Settings window
by
CWBillow
1 day, 11 hours ago -
Attestation readiness verifier for TPM reliability
by
Alex5723
1 day, 17 hours ago -
Windows Update says that “some settings are managed b your organization”
by
Ed Willers
1 day, 3 hours ago -
Use of Gmail rejected.
by
CBFPD-Chief115
1 day, 3 hours ago -
WuMgr operational questions
by
Tex265
5 hours, 42 minutes ago -
Beijing’s unprecedented half-marathon: Humans vs. humanoids!
by
Alex5723
2 days, 8 hours ago -
New Phishing Campaign Targeted at Mac Users
by
Alex5723
1 day, 9 hours ago -
Backing up Google Calendar
by
CWBillow
2 days, 15 hours ago -
Windows 11 Insider Preview build 27818 released to Canary
by
joep517
3 days, 3 hours ago -
File Naming Conventions (including Folders)
by
Magic66
2 days, 2 hours ago -
Windows 11 Insider Preview Build 26100.3613 (24H2) released to Release Preview
by
joep517
3 days, 11 hours ago -
Microsoft sends emails to Windows 10 users about EOS
by
Alex5723
2 days, 21 hours ago -
Outlook 2024 importing Calendar and Contacts – FAILURE
by
Kathy Stevens
2 days, 4 hours ago -
Adding Microsoft Account.
by
DaveBRenn
3 days, 12 hours ago -
Windows 11 Insider Preview build 26120.3576 released to DEV and BETA
by
joep517
4 days, 12 hours ago -
Windows 11 Insider Preview Build 22635.5090 (23H2) released to BETA
by
joep517
4 days, 12 hours ago -
Windows 11 won’t boot
by
goducks25
2 days, 4 hours ago -
Choosing virtual machine product for Windows on Mac
by
peterb
4 days, 2 hours ago -
Rest in Peace
by
Roy Lasris
5 days, 6 hours ago -
CISA : Install Windows March 2025 Updates until April 1 or shut down PC.
by
Alex5723
2 days, 4 hours ago -
Google proposes users with incompatible Win 11 PCs to migrate to ChromeOS Flex
by
Alex5723
5 days, 7 hours ago -
Drivers for Epson Perfection V600 Photo – scanner
by
Bookman
1 day, 22 hours ago -
Long Time Member
by
jackpet
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.