+ Reply to Thread
Results 1 to 3 of 3

Thread: ODBC, SQL, and Packed Fields

  1. #1

    Default ODBC, SQL, and Packed Fields

    A few common things to look for would be: If you're updating with a SQL Statement, check for a stray single quote(s). A numeric shouldn't be quoted. If it's a negative number, it should have a leading sign.... -100 not 100- Make sure you're pointing to the right Library... The File might exist in more than 1 place with different attributes. If you're updating through an ADO Recordset and referring to a column by it's number in the Collection rather than by it's name, double-check to make sure it's the right Column. If it's none of these things then it would be helpful to see a layout (DDS or DSPFFD) of the File and the SQL Statement you're using for the Update. If you're updating through an ADO Recordset, then the SQL that creates the Recordset as well. If you're creating these SQL Statements dynamically, then capture them in Debug or write them out to your Web Page and copy them if needed so we can take a look.

  2. #2
    ccrow@cronus.cc Guest

    Default ODBC, SQL, and Packed Fields

    I am working in VBScript and when attempting to update a packed field, I get the following error. "SQL0408 - Value_for_column_or_variable_FLD1_not_compatible" Any thoughts? Do I have a data type error in my script?

  3. #3
    ccrow@cronus.cc Guest

    Default ODBC, SQL, and Packed Fields

    Mike, it was embarrasingly the quotes. Thanks

+ Reply to Thread

Similar Threads

  1. Packed Fields
    By dacust in forum CL
    Replies: 7
    Last Post: 01-14-2004, 01:37 PM
  2. Unsigned Packed Fields
    By B.Morris in forum Visual Basic
    Replies: 4
    Last Post: 07-12-2002, 02:03 PM
  3. OPNQRYF w/packed fields
    By Guest.Visitor in forum Application Software
    Replies: 1
    Last Post: 03-08-2000, 07:14 AM
  4. FTP and packed fields
    By Guest.Visitor in forum Internet
    Replies: 2
    Last Post: 07-17-1998, 05:04 AM
  5. MS Access, ODBC and Packed Fields
    By Guest.Visitor in forum Programming
    Replies: 1
    Last Post: 06-23-1998, 08:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts