~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

You get white ash on buring it

I put in an ebook.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

It would be really better if you posted the design of your relevant form along with the form elements name so that it would be easier for us to copy paste your code and try it out. Something like this :

[lbl_average]   [txt_average]
[lbl_total]        [txt_total]

[btn_calculate] [btn_exit]

BTW your code is so confusing and jumpled, that it is difficult to point out errors as such.

Be a bit more descriptive while describing your program and the errors you are facing along with the function which causes the error. What was the expected result etc etc...

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Crappy lousy expensive courts filled with lawsuits, PATHETIC.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

the members posts.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

a strict moderator

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

If I ask how many patiënts have to be operated, the program should create a variable for each patiënt that can contain their individual data.

A simple, crude, sample program:

#include <iostream>
#include <vector>

int main()
{
    using namespace std;

    int count = 0 ;
    vector<int> vec_int ;

    cout << "Enter the number of patients you want: " ;
    cin >> count ;
    getchar() ;

    for( int i = 0; i < count; ++i )
    {
        vec_int.push_back(i+1) ;
    }

    cout << "\nNow displaying the contents: \n" ;

    for( int i = 0; i < count; ++i )
    {
        cout << vec_int[i] << endl ;
    }

    cin.get() ;
    return 0;
}
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

If your form name is "frm_MDI" you could try: frm_MDI.ActiveForm to get the current form which is active.

Hope it helped, bye.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

CRAPPY lousy expensive apples filled with lawsuits, eaten

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Outside or inside, you seem to be talking a lot about the weather conditions.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

packaging -> cramped

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

this discussion has

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Most of all (Fuel)

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Years of experience in software development makes Jack a boring man.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

You get a sour tooth. ;)

I put in some Sulphuric Acid.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Surplus lousy expensive apples filled with cyanide, EATEN.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

not where needed.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

tyrant -> hypocrite

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Should I be referring to you as Mr. Joeprogrammer then? :mrgreen:

Grr.. revamped. ;)

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Down inside of you (Fuel)

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

the kind of

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

(yeah)One Last Breath (Creed)

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Yes, it is funny how that works sometimes; originally when entering college for software engineering I was sure I wanted to work for the D.O.D., then after a year or two I was very attracted to database design and was sure that is what I would do. Now I am developing for a video game company-- I never really ever considered this as a future path or even thought I would want to do it (I was lucky to sort of just fall into it and was hired), but I love it. It's a great job, challenging, and quite fun.

The same has happened with me. Wanted to go in Electronics, landed up in Computer Science...and now enjoying it.;)

It is vitally important to work one's way up after first learning the fundamentals no matter the field of study but it seems especially so in the Sciences.

Amen to that....

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Grr... not you, too! ;)

:mrgreen:

Yep, if you ever need to delete one of your own bad posts or get it edited for some reason, using the "Flag bad post" is the quickest way to contact the moderators. Although I don't have personal experience with this, I've heard mods see it a lot faster when you report it this way.

Correct...A thread or post quickly catches our attention if it is marked as bad post since one of the primary duties of the Moderator is to handle all the reported posts of his concerned forums.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

weapon -> killings

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Unexpected behaviour can be very well expected from me.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Hey there my friend, welcome to Daniweb. :D

I have requested the thread be moved to the appropriate forum for quick response. ;)

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

A famous place known as Mumbai in India...

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

gadget -> hatchet

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Several lousy expensive flyers filled with cyanide, DYING.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

iPhone -> gizmo

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Several lousy expensive flyers filled with PRIDE, floating.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Can't say without seeing the code and its problematic part....

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

cinema -> expensive

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

I guess you missed the forum policy.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Several lousy EXPENSIVE flyers filled with air, floating.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

With arms wide open (Creed)

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Pearl Harbor -> good movie

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

which never dries.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Questionable things should be surely questioned.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Me against the rest of the world is not a fair setting...

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

On a day like today (Bryan Adams)

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

some manners. Is

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

amazing -> sugoi (japanese for amazing)

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

rude to someone !

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

chocolate -> wow

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Several LOUSY frequent flyers, filled with air, combusting.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

You get to hear B12

I put in some soda.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

High tides are not good for swimming.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Just Feel Better (Santana feat Steven Tyler)

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

How can I run some code when I click on an arrow of a data control?

Drag the ADODC control onto the form (by importing the component Microsoft ADO Data Control ActiveX Control using Project -> Coponents), double click on it.

Write all the code you want in its "WillMove" event. For more help, post a concrete explanation and example from your side.