?
Solved

modifying existing .db's

Posted on 1997-05-04
2
Medium Priority
?
201 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 100 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
Suggested Courses

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