|
You must treat the QRYSLT parameter as a quoted string. Like this: QRYSLT('OFFICECOD = %VALUES("H87" "870" "890") & FIRMCOD *NE "X"') I am assuming that both fields are alpha. > Hi > Iam in urgent ,i want a query which im going to write in an > openquery which should satisfy the following conditions... > OFFICE CODE SHOULD BE EQUAL TO EITHER OF THESE VALUES: > H87,870,890 > FIRM CODE SHOUD NT EQUAL TO 'X' > I ve written some thing like.... > QRYSLT(OFFICECOD *EQ %VALUES('H87' '870' '890') *AND FIRMCOD *NE > 'X').. > ITS NT WORKING PROPERLY..CAN SOME ONE SUGGEST CORRECT QUERY > CONDITION IMMEDIATELY...DONT VE MUCH TIME TO CHECK IBM > BOOKS > PLEASE.... > THANKS IN ADVANCE, > MURALI.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.