LOCAL llUpdate llUPdate = .F. IF VARTYPE(oAttended) != 'O' PUBLIC oAttend oAttend = NEWOBJECT('attended','attended',oAppVars.psExeName) ENDIF llUpdate = oAttend.show(1,psDbf,psClass,psCity,psBldg,psRoom,psMo,psDay,psYr,psTime) RETURN llUpdate && always returns true>>I cannot get a correct boolean return value from a form class, it is always true. This is the code:
>>oAttend unload event = return Thisform.plUpdated >> >>llUpdated = oAttend.show(1,psDbf,psClass,psCity,psBldg,psRoom,psMo,psDay,psYr,psTime) >>>>The value is False in the unload of the form class but changes to True when returned to the calling form class. Yes, the window type is modal. Any ideas?