General information
Category:
Coding, syntax & commands
Title:
Utilisation d'un tableau dans un Select-SQL
Bonjour,
Je dispose d'un tableau d'une seule colonne contenant par exemple des clé primaires d'éléments sélectionnés dans un ListBox
aRegion(1) = 56
aRegion(2) = 63
aRegion(3) = 44
J'aimerais sortir les régions définie dans le tableau dans un curseur par une requête SQL
j'ai essayé ceci:
select .... where ca_region in (ascan(aRegion, ca_region))
le problème, ascan retourne le n° d'élément et aucun élément ne sera sélectionné
puis j'ai tapé ceci
select ..... where ca_region in(aRegion)
mais il prend en compte uniquement l'élément aRegion(1)
ya t'il une solution ??? inlist() ??
merci d'avance pour votre aide
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only