Thanks for the tip...shortly before your posting I changed my button function to the following:
**************************************************
CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINFRAME,
RUNTIME_CLASS(CInvoicesDoc),
RUNTIME_CLASS(CMainFrame), RUNTIME_CLASS(CInvoicesView));
pDocTemplate->SetContainerInfo(IDR_CNTR_INPLACE);
m_thisApp->AddDocTemplate(pDocTemplate);
pDocTemplate->OpenDocumentFile(NULL);
************************************************
Which works very happily, however, now I have the following problems:
The File/Exit button and X Exit button closes the entire application where I just want it to close the SDI frame...and the status bar is not updating when I hit Num Lock, Caps Lock, etc. Not really sure how to approach this problems but thanks for all the help you've given me this far!! You've been a life saver...cherry flavoured!