-
WSPaulK
AskWoody LoungerIn the form properties in design view go to the data tab and change the allow additions to no.
-
WSPaulK
AskWoody LoungerIf you look at the properties and methods of the listbox object in the online help you should be able to figure this out. Specifically look at the ItmesSelected collection and the ItemData property. With these two you should be able to loop through the collection using a For Each…Next statement and return the selected item with the ItemData property. Here is an example from the online help in Access97 (my 2002 machine is offline at the moment):
Sub BoundData()
Dim frm As Form, ctl As Control
Dim varItm As VariantSet frm = Forms!Contacts
Set ctl = frm!Names
For Each varItm In ctl.ItemsSelected
Debug.Print ctl.ItemData(varItm)
Next varItm
End SubReplace the object names with the names of your form and listbox. Then, instead of debug.print, concatenate the selected values to build your where string.
-
WSPaulK
AskWoody LoungerYou will need to build a criteria string or where clause for your report while looping through the items selected collection of your listbox. At the end you should have something that resembles “[factory] = “SomeID” AND [line] = “LineID01” AND [date] = #SomeDate# OR [factory] = “SomeID” AND [line] = “LineID02” AND [date] = #SomeDate# OR [factory] = “SomeID” AND [line] = “LineID03″ AND [date] = #SomeDate#;” You can then use this string in the where argument of the OpenReport method to filter the records displayed in your report. This is just an example to get you started in the right direction. Hope it helps!
-
WSPaulK
AskWoody LoungerFebruary 24, 2003 at 4:21 pm in reply to: Problem moving Access 97 app to newer versions (97 Sr-2) #656074What if you create a new db in 2000 and link to oracle tables and update them. Does it happen then?
-
WSPaulK
AskWoody LoungerFebruary 24, 2003 at 4:08 pm in reply to: Problem moving Access 97 app to newer versions (97 Sr-2) #656069I’ve updated 97 db’s to xp but not with links to oracle but sql server. I would recommend getting the latest odbc drivers for oracle and try deleting and recreating the links to the oracle tables.
-
WSPaulK
AskWoody LoungerYou might also try specifying the recordset type such as dbopendynaset. This has solved some of my error messages when I’ve upgraded from 97 to XP.
-
WSPaulK
AskWoody LoungerA lot depends on what you intend to do with the data once it is in the db. I used Access 2.0 with tables consisting of record counts in the 100,000’s. But all I did was simple reporting and filtering. For more complex tasks I would definitely recommend SQL Server would be your best bet and may be worth the effort in the long run.
-
WSPaulK
AskWoody LoungerIn a private message you wrote:
“I have one question how do i get a running tally of my Inventory. I have the number for example one item 3, 9, -3. How do I get the totals for that item to come out 9 and not show all three entries. I tried SUM but of course that wouldn’t work cause it tries to find same entries. Could you help me out. Is it a D-Sum?? I’m not too sure.”
Which column describes or identifies the item you need to sum? You should be able to create a query where you group by this column and sum on the amount column.
-
WSPaulK
AskWoody LoungerInstead of 3 tables I would use 1 or 2 and use some columns to specify the types of transactions. This way you could set rules that a to stocj transaction uses positive number for a to stock transaction and a negative number for a from stock transaction. Then you could build a totals query and use sum to get your quantity in stock. Unless there’s something I’m missing?
-
WSPaulK
AskWoody LoungerIn your query, change the join between the tables from an equi-join to right join – all records from accounts table and only those that match from transactions. You should then get records returned.
Right click on the join line, select join properties and then choice 2 should be the one you need.
-
WSPaulK
AskWoody LoungerYes, performance was improved with SQL server. I’m still monitoring it though and am currently researching replication.
I’m not sure about your first question. I’ll see if I can find out though.
-
WSPaulK
AskWoody LoungerIn which row of the query grid are you referencing the combobox? It should go in the criteria row under the department code column.
-
WSPaulK
AskWoody LoungerFebruary 4, 2003 at 7:13 pm in reply to: Run-Time Error ‘Row handles must all be released’ (2000) #650452 -
WSPaulK
AskWoody LoungerYou can try and use the attached code if you know what length the result string should be. Usage is as follows:
varString = PadZero(“StringToBePadded”,10)
where 10 is the length of the result string.
-
WSPaulK
AskWoody LoungerAre the front ends located on workstations or servers? Make sure your tables have good indexes. Also, when returning recordsets, try and limit the number of records being returned with criteria. This should improve performance greatly if you are using large recordsets. I have one multi-office application which I upsized to SQL server. This is not for the faint of heart, though. But it is something you might want to look into.
![]() |
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
-
Limits on User Names
by
CWBillow
3 hours, 45 minutes ago -
Limits on User Names
by
CWBillow
1 hour, 44 minutes ago -
MS-DEFCON 4: Mixed bag for March
by
Susan Bradley
26 minutes ago -
Non Apple Keyboards
by
pmcjr6142
11 hours, 33 minutes ago -
How to delete your 23andMe data – The Verge
by
AJNorth
3 hours, 38 minutes ago -
7 common myths about Windows 11 (Microsoft AD)
by
EyesOnWindows
1 hour, 29 minutes ago -
Error updating to Win11 0x8024a205
by
bmeacham
16 hours, 2 minutes ago -
default apps
by
chasfinn
15 hours, 43 minutes ago -
Will MS Works 4 work in MS Win 11?
by
MileHighFlyer
23 hours, 39 minutes ago -
Adding links to text in Word 2000
by
sgeneris
15 hours, 39 minutes ago -
FBI warnings are true—fake file converters do push malware
by
Nibbled To Death By Ducks
17 hours, 17 minutes ago -
Classic and Extended Control Panel — no need to say goodbye
by
Deanna McElveen
7 hours, 14 minutes ago -
Things you can do in 2025 that you couldn’t do in 2024
by
Max Stul Oppenheimer
1 day, 4 hours ago -
Revisiting Windows 11’s File Explorer
by
Will Fastie
13 hours, 8 minutes ago -
Planning ahead for migration
by
Susan Bradley
8 hours, 7 minutes ago -
Yahoo mail getting ornery
by
Tom in Az
15 hours, 52 minutes ago -
Is Spectrum discontinuing email service?
by
Peobody
19 hours, 23 minutes ago -
Practice what you preach! A cautionary tale.
by
RetiredGeek
15 hours, 56 minutes ago -
Looking for Microsoft Defender Manuals/Tutorial
by
blueboy714
20 hours, 8 minutes ago -
Win 11 24H2 Home or Pro?
by
CWBillow
16 hours, 39 minutes ago -
Bipartisan Effort to Sunset the ‘26 Words That Created the Internet’..
by
Alex5723
3 days, 2 hours ago -
Outlook new and edge do not load
by
cHJARLES a pECKHAM
3 days, 14 hours ago -
Problem using exfat drives for backup
by
Danmc
3 days, 14 hours ago -
I hate that AI is on every computer we have!
by
1bumthumb
2 days, 16 hours ago -
Change Info in the Settings window
by
CWBillow
3 days, 21 hours ago -
Attestation readiness verifier for TPM reliability
by
Alex5723
4 days, 3 hours ago -
Windows Update says that “some settings are managed b your organization”
by
Ed Willers
3 days, 13 hours ago -
Use of Gmail rejected.
by
CBFPD-Chief115
3 days, 14 hours ago -
WuMgr operational questions
by
Tex265
15 hours, 28 minutes ago -
Beijing’s unprecedented half-marathon: Humans vs. humanoids!
by
Alex5723
4 days, 19 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.