?
Solved

Need Help !!!

Posted on 1998-08-04
2
Medium Priority
?
220 Views
Last Modified: 2010-04-02
I'm a C++ novice....very new indeed... however, I would like to know the method I can use C++ to access/filtering data in a table (created in MsAccess 97). Is there any site that I can visit to get a sample source code on this problem ?

Thank You.

Regards
Derrick
0
Comment
Question by:dekoay
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Expert Comment

by:arun_ta
ID: 1169436
Use ODBC.You can get a large amount of info on ODBC from the Net.
eg. MSDN.
0
 
LVL 8

Accepted Solution

by:
trestan earned 150 total points
ID: 1169437
There are several ways to do it, either ODBC or DAO. I list the online help topics for you. There are also example codes associated with the instructions. You can get an easy start with them.
ODBC:
Visual C++ -> Microsoft Foundation Class Reference -> MFC tchnical Notes -> TN068:...
DAO:
Visual C++ -> Visual C++ Programmer's Guide -> Adding Program Functionality -> Details -> Database Topics (DAO) -> DAO Workspace...
General:
Visual C++ -> Visual C++ Programmer's Guide -> Adding Program Functionality -> MFC Topics (General) -> Building on the Framework -> Sequence of Operations for Creating Database Applications.
Which to choose:
"If you’re using mostly desktop data, we encourage you to consider the MFC
DAO database classes, because you’ll find them to be efficient and powerful.
If you primarily use ODBC server-based data, your project may function more
efficiently with the ODBC-based classes.
Other considerations include the kind of network you have, the scalability
requirements, and whether speed is more important than anything else. The
best thing to do is to prototype applications using the set of database
classes you think will work best. Do some benchmarking to determine your
best performance options.The decision is really up to you."

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses
Course of the Month11 days, 15 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question