SQL qury works in access but not dreamweaver

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default SQL qury works in access but not dreamweaver

    I am using InterAKT dynamic charts extension to create a chart on a page. The
    chart is to show number of meetings per month. The following SQL works in
    Access...

    SELECT DatePart("m",[Start]) AS MonthNo, MonthName(DatePart("m",[start]),True)
    AS [Month], Count(Journal.Type) AS Meetings
    FROM Journal
    WHERE (((Journal.Type)="Meeting With Client"))
    GROUP BY DatePart("m",[Start])
    HAVING (((DatePart("m",[Start])) Between 1 And DatePart("m",Now())))
    ORDER BY DatePart("m",[Start]);

    However, in Dreamweaver when creating a recordset, I get an error
    saying...'Undefined function MonthName in Expression'.

    Can anyone tell me how to fix this?

    Tahnks,

    Ray Keattch

    RayK Guest

  2. Similar Questions and Discussions

    1. Query Works in ACCESS DB but not on Front End
      Okay...i am trying to run a query to view people that are overdue in there medical appts. i did the <cfoutput> in place of <cfquery> and ran the...
    2. Join Query works in access but not via ColdFusion
      I have a query I built with the query builder in Access and through access it works fine. here is the query: SELECT appUsers.AppId,...
    3. DB access SQL2000 works usually
      We are running several web sites with the identical code. On just ONE site, when we hit this query, we get this error. select so.professional_id,...
    4. Dreamweaver 2004 web page works on pc; not on a Mac
      I have created the following web site: www.psychelp-sos.com.au. The home page works fine on a pc, but not on a Mac. The spacing and some of the fonts...
    5. Insert fails on access that I know works...
      Folks, I use PHP to write my form data to MySQL. I have a database with about ten tables. I'm trying to fill one table with some dummy data...
  3. #2

    Default Re: SQL qury works in access but not dreamweaver

    Certain functions available in Access are not available when using the Jet
    engine. Use the Format() function instead, eg

    Format([Date],'mmmm') AS [Month]

    --
    Jules
    [url]http://www.charon.co.uk/charoncart[/url]
    Charon Cart 3
    Shopping Cart Extension for Dreamweaver MX/MX 2004


    Julian Roberts Guest

  4. #3

    Default Re: SQL qury works in access but not dreamweaver

    I have put the format command around the items in the query but I am still getting the errors. Could you possible show me how my query should appear in Dreamweaver?

    Thanks,

    Ray Keattch.
    RayK 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