Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Type mismatch error from listbox.value
Message
From
05/06/1997 21:15:05
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Type mismatch error from listbox.value
Miscellaneous
Thread ID:
00035326
Message ID:
00035326
Views:
90
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
Next
Reply
Map
View

Click here to load this message in the networking platform