Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox Erratic Fatal Error behavior
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
ComboBox Erratic Fatal Error behavior
Divers
Thread ID:
00806399
Message ID:
00806399
Vues:
56
Hi All!

I have a class that have a combobox that we modified to do not show the dropdown and instead show a form with a grid that have search and more functionality than just a combobox. Was working perfect on VFP 5.0,6.0 7.0 but cause me Fatal Error in VFP 8.0 shutting down my application.

The problem can be reproduce more easy in the executable version than the development environment. I read that some other have problem with the combobox with record more than 500 but sometime my tables only have 2 or 5 record and giveme the same problem.

Some people here recomend to add the following code to the dropdown method, but that did not work for me also cause me the problem more faster than before.

this.rowsourcetype = this.rowsourcetype

I check my code but I believe is an issue with combobox. My enviroment is Buffering mode 5 and I Tableupdate(.t.) everytime I create a table using SQL just in case this is a problem.

the code that I have in the Drop Down method to avoid display is like this,

THISFORM.lplookup = .T.
THIS.ROWSOURCETYPE=THIS.ROWSOURCETYPE
SELECT (THIS.PARENT.aliasname)
mainmenu.updatechanges(THIS.PARENT.aliasname)
jlOk = .F.
jlrefresh = .T.
DO FORM plookup WITH THIS.PARENT.p_fldlist,THIS.PARENT.p_headers,THIS.PARENT.p_width,THIS.PARENT.indx1,THIS.PARENT.indx2,THIS.PARENT.indx1name,THIS.PARENT.indx2name,THIS.PARENT.cw1,THIS.PARENT.cw2,THIS.PARENT.cw3,THIS.PARENT.cw4,THIS.PARENT.cw5,THIS.PARENT.p_refresh,THIS.PARENT.p_ndx1,THIS.PARENT.p_ndx2 TO jlOk
IF jlOk
THIS.INTERACTIVECHANGE
ENDIF
THIS.ROWSOURCETYPE = 0



Any Suggestion will be appreaciate.
Gregorio J. Placeres
IT Analyst
Uniform Accounting Network
Auditor of State of Ohio
88 East Broad Street
P.O. Box 1140
Columbus, Ohio 43216-1140

Tel. 614-728-4694

Gregorio_J@MSN.COM

http://www.gjpproductions.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform