-
WSjazman2k
AskWoody LoungerActual training courses are more suited to the general development of VisualBasic as a language, and they are everywhere!!!
Knowledge pertaining to Access in general can be found in most books. Many have CDs with them that have exercises and sample tables, as well as a wealth of information.
A particular favorite is Access 97 Macro and VBA Handbook-along with the accompanying book Access Development for Applications.
Published by Sybex
ISBN# 0-7821-1977-8
‘Hint-Most are available at discount bookstores and still have the CDs. -
WSjazman2k
AskWoody LoungerEdited by jazman2001 on 01/02/20 05:13.
I need to write a module that creates 38 records for each group listed in the CompanyID field. The qry_distinct does the job isolating the groups.
Each group should have 38 records. There are 652 groups.
I’m trying to get the last number in that group from the value of Field3 [RowID] and increase the number value by 1. It’s a Double as a datatype.
Example: in attached spreadsheet CompanyID AFFI has four records, so the count should start at 5.00 and proceed to 38.00
‘Thanks for any help given…
-
WSjazman2k
AskWoody LoungerRory’s right. A UserForm can be customized much more than a standard messagebox. See my post “Here’s a fun one”…You’re busted!!
Many helpful suggestions were given as to how to ‘instruct and educate’ my Excel users.
-
WSjazman2k
AskWoody LoungerEdited by jazman2001 on 01/02/19 22:31.
The original post and attachment were so bad that I had to replace it with a second one. The attachment on that post contains actual data.
Please see the third post in the thread. -
WSjazman2k
AskWoody LoungerIt was purely academic.
I naturally backed up the table before hand.
Besides, it was an easy table to recreate.I was just wondering, had I used a delete query instead, how would one, if one could, get back their records.
NOT…appears to be the answer.
Thanks -
WSjazman2k
AskWoody LoungerWhere does this code go?
How is it activated?As an addendum…How does one inhibit the ability to cut i.e.(ctl+x) data out of cells?
Everytime they do this, it ruins the link down the line.
I’m assuming that this is really easy and something I just missed on the way. -
WSjazman2k
AskWoody LoungerYeah, but I wanted to ‘bust them’!!
A nice message box would’ve been alot of fun. -
WSjazman2k
AskWoody LoungerVery cool,
Thanks alot Rory
I need to learn this range stuff more.
While I’m here.. would this same type of system work for a type of validation function?
For instance an If statement?
Can you use IF statements in Excel?I guess I better read those VBATUTOR files I downloaded…;-)
Thanks again. -
WSjazman2k
AskWoody LoungerHow is that applied in Excel?
I saw in the insert menu Insert-Vlookup.I don’t have ODBC or MS Query capabilities here, are those required to do lookups?
I’ll read up on it at that site you suggested…
-
WSjazman2k
AskWoody LoungerVery helpful indeed and just what I’ve been needing for the past 6 months.
One would think, had I applied some logic and just guessed at the URL I would’ve stumbled on it by now.
Thanks a bunch, Rory -
WSjazman2k
AskWoody LoungerYeah!!
That worked like a charm.
I really have to learn more SQL, it’s so easy to read.
I usually use it to alter the source but rarely code straight to it. Excellent!
A little sorting in the report section and the results were spectacular.
Thanks for all your help KB -
WSjazman2k
AskWoody LoungerFortunately, The U.S. does have some type of disciplined zip code system. It’s either a 5 digit or a nine with the last four separated by a dash. i.e. 12345-6789
Just start at the end of the string and go back to the first space. Delimit. That would be the easiest way probably. As long as its a non-numeral or a space.
Fortunately, here we don’t use hyphens in our city names. The postal service hates punctuation in the last line…it throws off the scanners.
I love that there is more than one way to skin a file.
Thanks Rupert -
WSjazman2k
AskWoody LoungerI would prefer that fields be restricted, naturally. Unfortunately, I inherited this as a Word list that was
entered from a hand written list, and the data entry people knew nothing about fields or which data should go where.So now I am forced to search inside the strings for the appropriate value and group from the newly created fields built in the query.
What I really need are examples of expressions used in reports for customized grouping.
The Access help section isn’t very helpful on this one.
I imagine that it’s an INSTR call, and I believe that your call on searching backwards thru the fields would be the correct one.
Thanks for the assistance. -
WSjazman2k
AskWoody LoungerWOW…impressive code!
I am having difficulties calling the function, however.
As I understand it, A new query was created but is the function called from the query? If so, how is that done?
As an expression, right?using this code in the query created an error.
District:= Cust_Instr(“District”, Table1!Ad1, Table1!Ad2,
Table1!Ad3)If my fields are all called (Ad 1-5), would the corresponding code in the function be the same?
Thanks for the promp reply. -
WSjazman2k
AskWoody LoungerSorry, they are standard textboxes in a UserForm.
It was a standard Word97 template with macros available on the office intranet with 5 text boxes on top,
5 to the left and five to the right…imagine the outlay of a business card.I have moved the input to a series of UserForms and want to simply export the data and those tags on the forms to a delimited text file.
Using the radio buttons activates the appropriate UserForm with the appropriate number of text boxes.
Problem is those text boxes have styles attached to them.
i.e.</p> <address> enclosed in tag brackets.<br /> It is their desire that we get those tags with the text data entered, to facilitate the second stage of applying the existing styles in the publishing/processing application (i.e. Pagemaker)</p> <p>I hope this is less confusing.<br /> Thanks for your reply.</p></address> <p>
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
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
-
Rufus is available from the MSFT Store
by
PL1
3 hours, 9 minutes ago -
Microsoft : Ending USB-C® Port Confusion
by
Alex5723
5 hours, 18 minutes ago -
KB5061768 update for Intel vPro processor
by
drmark
1 hour, 32 minutes ago -
Outlook 365 classic has exhausted all shared resources
by
drmark
3 hours, 29 minutes ago -
My Simple Word 2010 Macro Is Not Working
by
mbennett555
1 hour, 4 minutes ago -
Office gets current release
by
Susan Bradley
3 hours, 41 minutes ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
1 day, 17 hours ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
1 day, 2 hours ago -
Stop the OneDrive defaults
by
CWBillow
1 day, 18 hours ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
2 days, 4 hours ago -
X Suspends Encrypted DMs
by
Alex5723
2 days, 6 hours ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
2 days, 7 hours ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
2 days, 7 hours ago -
OpenAI model sabotages shutdown code
by
Cybertooth
2 days, 8 hours ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
1 day, 20 hours ago -
Enabling Secureboot
by
ITguy
2 days, 3 hours ago -
Windows hosting exposes additional bugs
by
Susan Bradley
2 days, 16 hours ago -
No more rounded corners??
by
CWBillow
2 days, 11 hours ago -
Android 15 and IPV6
by
Win7and10
2 days, 1 hour ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
3 days, 4 hours ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
3 days, 7 hours ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
3 days, 1 hour ago -
Windows Update orchestration platform to update all software
by
Alex5723
3 days, 14 hours ago -
May preview updates
by
Susan Bradley
3 days, 1 hour ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
2 days, 17 hours ago -
Just got this pop-up page while browsing
by
Alex5723
3 days, 6 hours ago -
KB5058379 / KB 5061768 Failures
by
crown
3 days, 3 hours ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
2 days, 5 hours ago -
At last – installation of 24H2
by
Botswana12
4 days, 6 hours ago -
MS-DEFCON 4: As good as it gets
by
Susan Bradley
3 hours, 57 minutes 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.