SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Nov 2011
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    strange error message.

    the following code is throwing an error of "missing Coma"

    Can anyone see something I don't?


    <cfquery name="insPorder" datasource="invoice">
    insert into invoicetrk000.purchase_order(ponumber,
    vendor_id,
    cotr_id,
    emp_id,
    cr,
    dte_entered,
    entered_by,
    pp_start_dte,
    pp_end_dte,
    description,
    award_type,valid_flag)
    values('#form.pordernum#',
    #form.vendor#,
    #form.cotr_id#,
    #form.spec_id#,
    '#form.cr_award#',
    '#form.dte_entered#',
    #form.entered_by#,
    '#form.pp_start_dte#',
    '#form.pp_end_dte#',
    '#form.description#',
    #form.sourcing#,'Y')
    </cfquery>

    its the only code on the page so it is not happening before this.

    confused.

  2. #2
    SQL Consultant gold trophysilver trophybronze trophy
    r937's Avatar
    Join Date
    Jul 2002
    Location
    Toronto, Canada
    Posts
    39,262
    Mentioned
    60 Post(s)
    Tagged
    3 Thread(s)
    instead of CFQUERY, please CFOUTPUT so we can see what that looks like with all the cf variables substituted
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL
    "giving out my real stuffs"


Bookmarks

Posting Permissions

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