473,749 Members | 2,451 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What is the best way to do a database search?

2 New Member
I'm proposing an idea for the company that I'm interning with. They use Access and I have used it before. I was trying to decide what the best method would be to search the database for certain customers to find data that meets certain requirements (a customer that has had two or more transactions with us, all being under $2,500 but totaling over $3,500). I have mainly worked with Java and SQL and know how I would search for these requirements using Java (for loops to compare the customer number, if/and statements to compare the details), but what is the easiest way to develop a list with multiple restrictors in Access? I know I could make multiple tables and keep narrowing down data from there, but that seems like it would take up too much time/memory. Also, this process would need to be automated.

Thanks!
Feb 15 '11 #1
2 1387
pod
298 Contributor
if you use MS Access as the platform for manipulating data, the same logic you used with JAVA can be used with VBA (VB script for Access)
... of course you will have to learn the syntax differences

if you've never worked with MS Access Forms, I suggest, downloading a simple project and studying it (Google Northwind database)
Feb 15 '11 #2
Rabbit
12,516 Recognized Expert Moderator MVP
I suspect you can do everything with SQL.
Feb 15 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
2282
by: Bill | last post by:
I can't believe I can't find this answer on Google... I'm trying to build a database search query. User enters a search term into a box, and so I'd like to use that string to search a column in a database. So, something like SELECT "column_name" FROM "table_name" ?SQLcommand? (parm1 and parm2 and "phrase phrase2")
3
1574
by: huzz | last post by:
I've a table filed holds keywords seperated by comma, and a web search form where a user can type one of multiple keywords in the search text field seperated by comma aswell. How do i create a sql statement to bring results that matches one or more keywords in the database? Many thanks in advance.. huzz
1
2371
by: nzanella | last post by:
Hello, I am currently upgrading a database of products to include pictures to be displayed online. I would like to know whether it would be best to store the pictures themselves in a database as a BLOB or whether it would be best to simply store the filename. What are the pros and cons? Thank you,
2
1361
by: smoscar | last post by:
I am " fixing " and ASP page that was created some time ago, and i'm running into a problem searching the database connected to it. micsearch = "SELECT FacilityName, Location, County, State, Description, View, Company, FacilityType, Date, Filename FROM Assets WHERE Location = '"&misearch&"' OR KEYWORDS like '"&misearch&"' " The problem lies in the end of the statement " Keywords like '"&misearch&"'
2
1584
by: Bernardo | last post by:
Hi, Anyone knows what are the best database objects? The COM ADO is better then Data.OleDb or Data.SqlClient? Thanks,
6
2898
by: No Spam Man | last post by:
Hi, I am not a programmer and in the past have only created very simple, flat file databases. Although I'm a newbie, I think I could probably figure out basic Boolean logic and financial functions. The database I want to create would import quite a few records -- maybe as many as 100,000. I would be importing them from an Internet source (comma delimited) to my desktop so that I could manipulate the data how I wanted. Despite the...
5
2691
by: Mark | last post by:
Hi I have an application (in vb.NET 2005) which holds data in SQL Server and some of the SQL records are simply paths to related files. I would like to be able to do a text search on both the SQL data and the contents of any referenced files. The returned list being a listing which includes both records containing the text and files containing the text. Does anyone have a simple example of programatically searching for files
2
1472
by: BurtonBach | last post by:
I am relatively new to setting up databases. I am working on a database that will track some materials and trucking that our company uses. Currently I am creating a table called 'tblDayInfo'. It looks something like this: DayID EmployeeRecNum Date DayStart DayEnd TotalHours 216 5 9/6/2006 7.00 18.00 3.5 217 13 9/6/2006 7.15 ...
5
2832
by: ngocviet | last post by:
I have a so big DB, It's about 10-100GB of text. Now I want to create a searching function but It take too long when I use LIKE from MySQL Anyone know the best sollution? Can I use Google Desktop search or an others? Please help!
1
2802
by: maricar | last post by:
hello, i am a comsci student and im currently taking up my thesis..it is a student record system...wat wud be the best database programminig language that is compatible with MS Access?im begging for your opinions..if possible attached URLs for proof..tanx!!!! god bless!!!
0
9389
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9335
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9256
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8257
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6801
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4709
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3320
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2794
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2218
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.