Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. tonyweis138

    AS400 invalid token question

    I am trying to run the following query and it is telling me that i have an invalid token comma. Any ideas? select *, CASE WHEN UBILOP = 'SHP' THEN '' ELSE USHACT END AS BILLTO, CASE WHEN USHVIA = '04' THEN 1 ELSE 0 END AS SAT, CASE UPAYTM WHEN '05' THEN 2 WHEN '08' THEN 2...
  2. tonyweis138

    MSAccess ODBC

    Haha, i'm a doofus. I had IFF in my brain for if and only if and kept using that instead of iif. Also, because i was using version 12 of the Microsoft Access Driver, i don't think the BDE was able to interpret the error messages correctly so it was just giving me read access violations...
  3. tonyweis138

    MSAccess ODBC

    According to this: http://support.microsoft.com/kb/321266 Neither the if(f) nor the case statements are valid. Does anyone know how to achieve the same goal using only these keywords? Thanks in advance.
  4. tonyweis138

    MSAccess ODBC

    I tried using iif and it still gives me an access violation when i try to run the query in Delphi.
  5. tonyweis138

    MSAccess ODBC

    I am writing trying to access data in an Access database via a Delphi 7 program. I have a DSN setup using the Microsoft Access driver which i am using to connect to the Access database. I am attempting to use a query like the following and it keeps giving me read access errors. It has to do...
  6. tonyweis138

    ODBC Text problem

    Awesome, that is half the battle. Now i just need to find a function to find the position of the '.' in the string in order to know where it should be split. That Mid() works great, though.
  7. tonyweis138

    ODBC Text problem

    It isn't listed, but it gives me errors stating that those are unrecognized commands.
  8. tonyweis138

    ODBC Text problem

    I have a customer that is scanning in a value (ex. 12345.00) that needs to be matched to a value in a text file to return a row. However, the key value in the row would be 12345 without the '.00'. My problem is how to strip off that last few characters in the string. If i was doing it with...

Part and Inventory Search

Back
Top