Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error? with cnavbuttons.refresh
Message
From
21/04/1998 12:03:23
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Error? with cnavbuttons.refresh
Miscellaneous
Thread ID:
00093690
Message ID:
00093690
Views:
63
I have 2 forms based on CBizObjMaintenanceForm. When I made the change from cdmm2.07 to cbmm3.01 I began getting an error #1924 in cnavbuttons.refresh() when entering form A.

ACTIVEFORM is not an object

SET DATASESSION TO _SCREEN.ActiveForm.DataSessionID

I solved this by changing it to

IF NOT TYPE('_SCREEN.ActiveForm.DataSessionID') = 'U'
SET DATASESSION TO _SCREEN.ActiveForm.DataSessionID
ENDIF

Now I will say that I did not do this with screen B. Screen A begins by calling aCBbaseModalForm in its INIT method so that I can retrieve view parameters. Things seem fine, but I thought I would ask.
Next
Reply
Map
View

Click here to load this message in the networking platform