Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Type mismatch error from listbox.value
Message
De
05/06/1997 21:15:05
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Type mismatch error from listbox.value
Divers
Thread ID:
00035326
Message ID:
00035326
Vues:
87
Hi every one,

I want to remove a record from a table when I select the element from a listbox. The listbox RowSourceType property is set to 2-Alias and my BoundColumn is set the field I need. The source table of the listbox has exactly the same structure as the table I'm searching into.

Why do I get an "Operator/operand type mismatch" error with the following statement:

DELETE FROM myTable WHERE id=thisform.myLstBox.value

I tried with the id field Integer and then Numeric.

Is there a problem with the returned value of a listbox.

Thank's
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform