Access query fails after upgrade to MX 7.1

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Access query fails after upgrade to MX 7.1

    After upgrading to ColdFusion MX 7.1, the following query (against an Access
    2000 database) errors out on the *** field when running the ColdFusion
    application displaying error: ?Too few parameters. Expected 1? message.
    We first thought it was the length of the field name, but we have other field
    names that are longer (I?ve removed them for this sample). When we remove this
    field name from the query the query works.

    I have another similar query using the same field name and it fails there as
    well.

    This code has been running on MX 6.1 for several years. Any suggestions?

    <CFQUERY NAME="AuditLog" DATASOURCE="Contracts">

    SELECT AUTONUMBER,
    TRACKING_DATE,
    AuditLog.EntityID,
    [ENTITY ADDRESS INFO].[ENTITY NAME] As EntityName,
    [CONTRACT AMOUNT] AS AMOUNT,
    [CONTRACT PERIOD] AS STARTING,
    ENDING,
    *** [CONTRACT FROM FIELD WITH SIGNATURE] AS FRFIELD,
    COMMENTS,
    JUSTIFICATION_MONEY AS SERVICE
    FROM [ENTITY ADDRESS INFO] INNER JOIN AuditLog ON ([ENTITY ADDRESS
    INFO].EntityId = AuditLog.EntityID) AND ([ENTITY ADDRESS INFO].EntityId =
    AuditLog.EntityID)
    WHERE autonumber = #url.autonumber#
    </CFQUERY>

    Thanks
    VJ

    VJIN Guest

  2. Similar Questions and Discussions

    1. MS Access Query Search Fails on Boolean
      I have a query that I would like to search on where my field is a boolean. This is the error and the sql statment below, Error: No value given...
    2. Impersonation fails after upgrade to .NET 1.1 Framework
      I have developed and ASP.NET application that uses the aadvapi32.dll to impersonate a domain user to gain access to files on a different server. The...
    3. apt-get dist-upgrade, now gnome session fails to login
      On Sun, Jul 27, 2003 at 11:35:58AM -0400, stan wrote: You probably want bits of GNOME from unstable. -- Colin Watson ...
    4. BCP query out executed by xp_cmdshell works fine from query analyzer but fails from VB Component
      Hi all, I have a stored procedure which returns a vast number of record and i have to write the output into a csv file. I'm using BCP utility to...
    5. Sun PCI fails after O/S upgrade
      I have been using Sun PCI on an Ultra 5 for some time (the older 300MHz card) with no problems, running both 98 and NT. I've upgraded the O/S from...
  3. #2

    Default Re: Access query fails after upgrade to MX 7.1

    This is just a guess, but it is probably finding the FROM after CONTRACT and
    stopping there. If you could change this column name, or at least join the
    words with an underscore, you will probably fix the problem.

    By the way, who was the database genius that came up with the column names?
    There should a place in hell reserved for him/her. :evil;

    Phil

    paross1 Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139