Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IN( ) condition Remote View where filter doesn't return all
Message
De
02/03/2006 18:15:55
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
IN( ) condition Remote View where filter doesn't return all
Divers
Thread ID:
01101117
Message ID:
01101117
Vues:
68
Hi,

I want to create a remote view ( SQL Anywhere database) with the view designer of VFP 9.0 that retrieves the items of all the bills of which the ids are contained in an IN (.. ) condition.


The non parameterized statement is something like SELECT * FROM Salesitems WHERE isalesdocid IN (1,2,3) and it retrieves correctly all the records.

When I try to create a parameterized remote view version of this, I enter in the View Designer the filter condition: isalesdocid = IN ( ?vp_isalesdocid). The designer accepts this and when I look at the Designer's SQL window I see:

SELECT * FROM Salesitems WHERE isalesdocid IN (( ?vp_isalesdocid ))

When I browse this view, and I fill in 1,2,3 or “1”,”2”,”3” in the View parameter popup window, I only get the items that correspond to the first ID value (1)

Can someone help me with retrieving all the records corresponding to the IN() condition?
Thanks in advance,


Mark
If everything seems to be going well, you obviously don't know what the hell is going on !
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform