Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New Button Not Working
Message
From
29/11/2005 16:57:07
 
 
To
29/11/2005 08:30:56
General information
Forum:
Visual FoxPro
Category:
CodeMine
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01072579
Message ID:
01073026
Views:
23
Is there a way to recompile all Codemine Classes and so forth? I tried do cmstart with "REINSTALL" and it said it did is that what does it?
I may have hosed my VFP since I am getting it on any codemine form even if I have just a cde attached. Yes I am using a CDE with some tables that are related and some that are just for look up. I am going to try the normal data environment and see what happens.





>>I put those steps in the cmdatamanager
>
>Are you not using a CDE?
>
>>Remember my original form calls a child which calls another child. Is that
>acceptable?
>
>Sure - as long as there is only one datamanager/CDE involved.
>
>I would suggest doing the same thing as before but in the BeforeNew hook.
>
>-=Gary
>
>
>>
>>
>>>SET STEP ON in AfterNew testing for the cWorkArea == "New Job Detail" (replace "New Job Detail" with the correct cursorname in VFP Proper case).
>>>
>>>See whether you get as far as AfterNew before your error occurs.
>>>
>>>-=Gary
>>>
>>>
>>>
>>>>The message I get is in a dialog box with Cancel and Help buttons.
>>>>
>>>>When I put Set Step on and Dodefault() in the Click Event it gets to the the dodefault() and the only thing in the call stack is
>>>>formfrmareadetailchild001.cmdtoolactionbuttonnew1.click
>>>>
>>>>Then when I click resume I get this in the call stack
>>>>Call Stack Unavailable: Trace between breaks is off.
>>>>
>>>>It is like set step on changes the flow.
>>>>
>>>>s there something else I can try? Also, it is ok for a child form to call a child form? It sort of acts like the workarea needs to be selected. This is just a feeling I have. I do know the areadetail table is found in the cde I am using. I did check that.
>>>>
>>>>TIA.
>>>>
>>>>
>>>>
>>>>
>>>>>Hi Terry,
>>>>>
>>>>>Can you post the whole call stack when the error occurs. This will likely shed more light on the matter than the error message you posted below.
>>>>>
>>>>>-=Gary
>>>>>
>>>>>>I have a parent-child-grand child situation. It is a customer-job-jobdetail arrangement. I can select a customer and create a new job and save the information. I select a job and select New Job Detail using a cmdtoolactionbuttonnew with cworkarea set to areadetail(name of table) I get the following error.
>>>>>>
>>>>>>Program Error
>>>>>>Function, Argument Value, Type or Count is invalid.
>>>>>>
>>>>>>I tried to set step on but I can not find the error. I also am calling the grand child form from a frmdatachildcustom form with the following in the click event of the new button.
>>>>>>
>>>>>>dodefault()
>>>>>>thisform.openchild('frmpaintjobchild.scx')
>>>>>>
>>>>>>Any ideas??? TIA.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform