Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New Button Not Working
Message
De
01/12/2005 14:50:16
 
 
À
29/11/2005 18:32:40
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:
01073896
Vues:
20
Well I got it fixed and I don't have a clue as to how or why. I did not reinstall VFP nor did I Uninstall and reinstall Codemine. I just created a new form. Copied the fields for the old form over one at a time looking for the one causing the problems and of course None did but the new form(s) work like they should. It's just Magic I think.
But I do have a question, is there a way to validate the database and rebuild the indexes other then using the native validate in VFP and reindex? Something that you like and use? TIA.

>You might want to call cmStart with "UNINSTALL" first. Then re-install. If you are getting the error everywhere, then it sounds like something has gone awry. Might be worth deleting Foxuser as if it gets corrupted, it can play all sorts of tricks.
>
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform