Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Bank CSV Income Expense And Search
David Clement 
      
5 hours ago
Hello Richard.
I am hoping you can remind me of what you would say is a simple task.
I have built a simple accounts tracking database, but in this case I am using my banks .csv file to provide the data, thinking it would be more precise, which it is.
I only have two questions about doing it this way.
#1-The bank record shows an "amount" column. (0.00) for negative and 0.00 for positive. Not in separate columns.
   I know you have shown how to get totals based on those two amounts. I just don't remember how to do it.
#2-The bank record show a very long "description" in that column.
   Is there a way to search within that column for where the transaction occured? It is listed, but sometimes deep within the description itself.
Richard Rost  @Reply  
          
3 hours ago
Hi David. Yep, both are pretty simple to handle in Access.

1. For the Amount field, create a totals query. Add the Amount field twice. Set the Total row for the first one to Sum, and use criteria to separate negatives from positives:

Positive: >0
Negative: <0

You can also use calculated fields if you want both values on the same record in a query:

Income: IIf([Amount] > 0, [Amount], 0)
Expense: IIf([Amount] < 0, -[Amount], 0)

Then use Sum in the Totals row for Income and Expense. I usually make Expense positive in the calculation, because it looks nicer on reports.

2. Yes. Use the Like operator with wildcard characters. For example, to find anything containing "Walmart" anywhere in the Description field, put this in the Criteria row under Description:

Like "*Walmart*"

If you want the user to type what they are looking for into a text box on a form, such as SearchText on AccountF, use:

Like "*" & [Forms]![AccountF]![SearchText] & "*"

That will find the text anywhere in the description, regardless of how much other junk the bank puts before or after it.

Wildcard Search & Like
IIF Function
David Clement OP  @Reply  
      
2 hours ago
Thank you. That's what I couldn't remember.
Awhile back, I vaugely remember you saying something to the effect that you going to try to do a video on the "best" way to import your banks .csv file into access. I pretty much have that down now. I am using my banks reference number and no duplicates when setting up my access database. The transaction number is really long, thats why I am using the reference number instead. That way I can use the append to table when adding new data. Works just fine. Not a big deal, I am just curious as to how you would layout your form. I tend to go with the most basic layout when creating forms.
As always, thank you!
David Clement OP  @Reply  
      
2 hours ago

Add a Reply Upload an Image
Next Unseen

 
 
What's This?

 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 9/5/2026 5:56:05 PM. PLT: 1s