Solved

modifying existing .db's

Posted on 1997-05-04
2
185 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Implementing a ResolveEventHandler in C++ 13 116
ASP.net build a IF/Then Walkthrough Guide 1 192
Template syntax for variable length arrays 9 71
Header of docx file 17 98
Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
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…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

863 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

Need Help in Real-Time?

Connect with top rated Experts

29 Experts available now in Live!

Get 1:1 Help Now