Solved

modifying existing .db's

Posted on 1997-05-04
2
200 Views
Last Modified: 2010-04-10
Using:
VC++ 4.0 std. ed.
 project: mdi with file support
  with: ODBC database -
      created with SQL Central (Sybase product)

my experience level: ex-Clipper programmer - new to VC++

I am developing this program in cooperation with the end user so there will be many changes over the weeks to the database and program. In fact, I have created the database with just 3 tables, there will probably be 6 in all. Some of the tables have no columns (fields) yet.

I recently added some columns, but the program does not "see" this new structure. Do I have to re-generate the whole project? or re-register the database with Win95? in other words start from scratch each time I make a change to the .db?

Thanks, Pete
0
Comment
Question by:petlin
[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 4

Accepted Solution

by:
AVaulin earned 50 total points
ID: 1163262
You must use ClassWizard for your database class. Thre is "Update Columns" button in "Member Variables" tab. Press it and I hope it solve your problem.
0
 

Author Comment

by:petlin
ID: 1163263
Being new to VC++ I will now have to go find this ClassWizard. If I don't find it, I'll come back to you with my next obvious question.
Thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

717 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