Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New Button Not Working
Message
De
29/11/2005 04:02:52
 
 
À
28/11/2005 17:18:20
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01072579
Message ID:
01072698
Vues:
17
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.
-=Gary
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform