Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with autocomplete combo box
Message
 
 
À
10/10/2002 12:42:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00709936
Message ID:
00709940
Vues:
18
What are the values of cField and This.lContainedIn at that point?

>Hello all
>
>I downloaded the autocomplete combo box and if i selected lcontained=.f. i get a error message operator/operand type mismatch error.
>
>IF "'" $ LEFT(This.Text,This.SelStart)
>	cWhere = IIF(This.lContainedIn, 'UPPER("' + LEFT(This.Text,This.SelStart) + '") $ ;
UPPER(' + cField + ')', 'UPPER(' + cField + ') = UPPER("' + LEFT(This.Text,This.SelStart + '")'))
>ELSE
>** Error Message appears here
>	cWhere = IIF(This.lContainedIn, "UPPER('" + LEFT(This.Text,This.SelStart) + "') $ ;
UPPER(" + cField + ")", "UPPER(" + cField + ") = UPPER('" + LEFT(This.Text,This.SelStart + "')"))
>ENDIF
>
>
>Thanks for any input
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform