Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Y2KO'ed by Comboboxes!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00313319
Message ID:
00313824
Vues:
46
David,

I found it has something to do with the code in my Valid(), but not the REPLACE command, but everything after the REPLACE command. When I commented out the rest of the code in the Valid() after the REPLACE command, everything worked. I will have to move or rewrite the code after the REPLACE command. Thanks for your assistance.

This is all of the code in my Valid():

REPLACE arrest.unit_type1 WITH ALLTRIM(THIS.DisplayValue)

IF THIS.DisplayValue != "0" OR ;
THIS.DisplayValue != "1" OR ;
THIS.DisplayValue != "2" OR ;
THIS.DisplayValue != "3" OR ;
THIS.DisplayValue != "4" OR ;
THIS.DisplayValue != "5" OR ;
THIS.DisplayValue != "6" OR ;
THIS.DisplayValue != "7" OR ;
THIS.DisplayValue != "8" OR ;
THIS.DisplayValue != "9"
SEEKID = ALLT(THISFORM.cbo_unit_type1.DisplayValue)
SELECT aed_info
SET ORDER TO unitid
SEEK SEEKID
IF FOUND()
THISFORM.txtAEDID1.Value = aed_info.aedid
THISFORM.cboAED1.Value = ""
ELSE
THISFORM.txtAEDID1.Value = "N/A"
THISFORM.cboAED1.Value = "N"
ENDIF
ENDIF
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site: www.stephenkramer.com
Would you believe Far Side Lite?
More than 270 original cartoons.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform