MindCracker
Programmer
Can anyone tell me what to pass a database to another file. For example, I have a dialog box to open a database using ODBC. I retrieve all the information I want from the database. However, I do have another source file (not CDialog class) which is used to do the data manipulation. It needs some of the information from the database that has been opened in the dialog. How to do that?
This is an example of my code.
If GetDatabase == NULL
return false
I always receive this false statement as the result of not being able to recognise the opened database in the dialog box.
Please help...
Many thanks!
This is an example of my code.
If GetDatabase == NULL
return false
I always receive this false statement as the result of not being able to recognise the opened database in the dialog box.
Please help...
Many thanks!