Access Database application error

Panther

New member
Access Database application error

I made a database application with an Access database file (In visual C++ 6), added a menu entry for adding a new record to the database, and added an event-handler function for the COMMAND event message. When the application is running, and I´m trying to click this menu entry to add a new record, i get an error: "Operation failed, no current record." do you know how can I solve this problem? The function for adding a new record is attached.
 
למעלה