Solved

modifying existing .db's

Posted on 1997-05-04
2
183 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
Comment Utility
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
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
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.

771 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

15 Experts available now in Live!

Get 1:1 Help Now