Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ole db where error
Message
 
À
25/01/2005 16:39:21
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00980292
Message ID:
00981114
Vues:
44
Hi Nancy.

I dont know where I got the 'IN' from but I thought you could use it as a VFP $ type function in SQL. I tried Cetins code and it worjed fine.

Regards,

Gerard


>Gerard-
>
>>I am getting an oledb exception error in a elect where clause
>>
>>string cStr;
>>cStr = cString.ToLower().Trim();
>>this.sSelectString = "SELECT " + this.sFields + " FROM " + this.sTableName +
>> " WHERE cStr IN isr_name ";
>>
>>Im sure the problem is in the 'Where' syntax command as it selects all records
>> into the dataset ok if I take the Where Bit Out.
>
>There is no IN clause as you're using it. I agree with Cetin's interpretation of your goal, but just for jollies, could it be INLIST() that you're thinking of? IIRC, you're using Fox as the backend.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform