Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox that is tied to a child object
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00614825
Message ID:
00615723
Views:
21
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform