Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New Button Not Working
Message
From
29/11/2005 06:48:09
 
 
To
29/11/2005 04:02:52
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:
01072725
Views:
23
I put those steps in the cmdatamanager of my original form and NO I did not get that far. Remember my original form calls a child which calls another child. Is that acceptable? TIA.


>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