Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox that is tied to a child object
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00614825
Message ID:
00615723
Vues:
22
>Can you post some more information regarding the error...what does the error dialog say? What is the list of methods in the Call Stack when the error occurs?
>
>Regards,

Kevin,

Sorry for vague.

The error is: Record is out of Range. It is happening on the ComboBox.Refresh. Here's the list from the call stack:
\WO\PROGS\MAIN.FXP
\MMORTALS\COMMON30\PROGS\SETUP.FXP
PROCEDURE LESCOWO.DO \MMORTALS\COMMON30\LIBS\CAPP.VCT
PROCEDURE BRANCHFORM1.CMDCANCEL.CLICK \MMORTALS\COMMON30\LIBS\CFORMS.VCT
PROCEDURE BRANCHFORM1.NEW \MMORTALS\COMMON30\LIBS\CFORMS.VCT
PROCEDURE CBIZOBJFORM.NEW \MMORTALS\COMMON30\LIBS\CFORMS.VCT
PROCEDURE BRANCHFORM1.REFRESHFORM \MMORTALS\COMMON30\LIBS\CFORMS.VCT
PROCEDURE BRANCHFORM1.PGFBIZOBJ.PAGE1.CNTBUILDINGTYPE.COMBOBOX.ERROR \MMORTALS\COMMON30\LIBS\CCONTRLS.VCT
PROCEDURE BRANCHFORM1.PGFBIZOBJ.PAGE1.CNTBUILDINGTYPE.ERROR \MMORTALS\COMMON30\LIBS\KCUSTCTL.VCT
PROCEDURE BRANCHFORM1.PGFBIZOBJ.PAGE1.ERROR \MMORTALS\COMMON30\LIBS\CCONTRLS.VCT
PROCEDURE BRANCHFORM1.PGFBIZOBJ.ERROR \MMORTALS\COMMON30\LIBS\CCONTRLS.VCT
PROCEDURE BRANCHFORM1.ERROR \MMORTALS\COMMON30\LIBS\CFORMS.VCT
PROCEDURE CERRORMGR.ERRORHANDLER \MMORTALS\COMMON30\LIBS\CMANAGER.VCT
PROCEDURE CERRORMGR.CREATEERRORLOGENTRY \MMORTALS\COMMON30\LIBS\CMANAGER.VCT

From what I have narrowed it down to is happens when the ComboBox list no longer has anything assigned to it, but there was previously a value in it. I thought that I might be able to fool it by setting it to null if the view associated with the ComboBox had no records, but it doesn't work consistently and prompts that I have made a change to the system when it does work.

Any thoughts?
Rod Lewis
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform