there is no error message , ie the code of this line goes ok without errors , BUT it does not execute . eg . this code is in the Gridview.bas
frmMain.dataMasterDateProd
frmMain.Frame1.Caption = "Products "
frmMain.dbgproducts.Captio
'' Refreshing the Grid
frmMain.dbgproducts.ClearF
frmMain.dataMasterDateProd
frmMain.dbgproducts.Refres
ie , there is no debug error , however , this code does not execute . ie the line code of :
frmMain.Frame1.Caption = "Products"
frmMain.dbgproducts.Captio
it is supposed that this code will return to frmmain and change the caption of Frame1 to "Products" and change the cation of the DBgrid of name dbgproducts which is found in frmmain to "Products of children toys" . the actual case is that there is no error generated , ,however , this code does not execute , ie , the caption of the frame1 and Dbgproducts DOES NOT CHANGE .
This error occurs only if i make the project properties to start with SUBMAIN . BUT if i start it with frmmain direclty , the code executes correctly .
I think that this error occurs because there is a declaration of frmmain in the submain as frmmain in the submain module , which is :
Set fMainForm = New frmMain
thanks
Main Topics
Browse All Topics





by: p_siePosted on 2004-05-30 at 15:53:13ID: 11192864
what's the error?