Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Limit 255 char

    Hello!
    I have a Visual FoxPro table with Memos fields, and when i insert into the
    table a value that cames from a TEXTAREA field on a form, give me an error.
    Why? if the table field is MEMO?
    Thanks


    webfox Guest

  2. Similar Questions and Discussions

    1. #39533 [NEW]: ord() cast with (unsigned char), chr() with (signed char)
      From: fred at cashette dot com Operating system: * PHP version: 5.2.0 PHP Bug Type: Feature/Change Request Bug description: ...
    2. char replacement
      Hi, I have a table with a field that contains a file path(www/docs/.../.../...) Some of the path contain this characters 'é' or 'è'. How can i do...
    3. Char problems. HELP !!!!
      I have emigrated from CF5 to CF7MX . and can not store norwegian fonts ?, ?, ? in the database. Old content is still OK. I have used : ...
    4. A P O S T R O P H E (spec'l char) W O N T E M B E D
      We received a supplied PDF from a client, opened it in Acrobat 6.0 (Win) to embed the font Optima using the Pitstop Global Change option (available...
    5. char to int conversion
      I would like to make some math operations with char entity (in database). The entity is all numbers but it is defined like char when create table...
  3. #2

    Default Re: Limit 255 char

    Could you please show us the error message?

    --
    Manohar Kamath
    Editor, .netBooks
    [url]www.dotnetbooks.com[/url]


    "webfox" <webfox@sapo.pt> wrote in message
    news:%23Zk4iBLcDHA.3044@TK2MSFTNGP11.phx.gbl...
    > Hello!
    > I have a Visual FoxPro table with Memos fields, and when i insert into the
    > table a value that cames from a TEXTAREA field on a form, give me an
    error.
    > Why? if the table field is MEMO?
    > Thanks
    >
    >

    Manohar Kamath [MVP] Guest

  4. #3

    Default Re: Limit 255 char

    The erro give me this:

    a.. Tipo de erro:
    Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
    [Microsoft][ODBC Visual FoxPro Driver]Command contains unrecognized
    phrase/keyword.
    /gqweb/gqregproc2.asp, linha 55

    *Browser Type:
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322; .NET
    CLR 1.0.3705)


    a.. Page:
    POST 641 bytes para /gqweb/gqregproc2.asp?fazer=inserir

    a.. Dados POST
    ftipo=N&fdataprev=5&freceptor=gqmonitor@ruitrol.ne t&fcausas=N%E3o+aplic%E1ve
    l.&ftexto=++123456789+123456789+123456789+12345678 9+123456789+123456789+1234
    56789+123456789+123456789+123456789+123456789+12 . . .


    The line 55 have :

    Set rsREGI = Server.CreateObject("ADODB.Recordset")
    SQLREGI ="INSERT INTO registos
    (processo,etapa,tipo,emissor,bcc,receptor,cc,data, assunto,texto,sit,ficheiro
    ,id_ref,refproant,obs,id_refocor,sector,importante ,id_forn,via,docref,datapr
    ev,respacc,alerta,devol,causas,reqnorma) VALUES
    ("&fprocesso&","&fetapa&",'"&Request.Form("ftipo") &"','"&futilizador&"','"&f
    bcc&"','"&Request.Form("freceptor")&"','"&Request. Form("fcc")&"',date(),'"&f
    assunto&"','"&fTexto&"','A','"&xpathficheiro&"','' ,'','"&fObs&"','','"&fsect
    or&"',.f.,0,'Mail','',ctod('"&fdias&"'),'',ctod(' . . '),ctod(' . .
    '),'" & Request.form("fcausas") & "','"&freqnorma&"')"
    rsREGI.Open SQLREGI,ConnF,0,3





    "Manohar Kamath [MVP]" <mkamath@TAKETHISOUTkamath.com> escreveu na mensagem
    news:OUKdTnQcDHA.1044@TK2MSFTNGP10.phx.gbl...
    > Could you please show us the error message?
    >
    > --
    > Manohar Kamath
    > Editor, .netBooks
    > [url]www.dotnetbooks.com[/url]
    >
    >
    > "webfox" <webfox@sapo.pt> wrote in message
    > news:%23Zk4iBLcDHA.3044@TK2MSFTNGP11.phx.gbl...
    > > Hello!
    > > I have a Visual FoxPro table with Memos fields, and when i insert into
    the
    > > table a value that cames from a TEXTAREA field on a form, give me an
    > error.
    > > Why? if the table field is MEMO?
    > > Thanks
    > >
    > >
    >
    >

    webfox Guest

  5. #4

    Default Re: Limit 255 char

    Maybe because you forget to double-quote the strings?

    replace(Request.Form("freceptor"),"'","''")

    Best regards,

    Karim Dahdah
    [url]www.doran.be[/url]




    "webfox" <webfox@sapo.pt> wrote in message
    news:e4MN2IgcDHA.2904@TK2MSFTNGP11.phx.gbl...
    > The erro give me this:
    >
    > a.. Tipo de erro:
    > Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
    > [Microsoft][ODBC Visual FoxPro Driver]Command contains unrecognized
    > phrase/keyword.
    > /gqweb/gqregproc2.asp, linha 55
    >
    > *Browser Type:
    > Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322; .NET
    > CLR 1.0.3705)
    >
    >
    > a.. Page:
    > POST 641 bytes para /gqweb/gqregproc2.asp?fazer=inserir
    >
    > a.. Dados POST
    >
    ftipo=N&fdataprev=5&freceptor=gqmonitor@ruitrol.ne t&fcausas=N%E3o+aplic%E1ve
    >
    l.&ftexto=++123456789+123456789+123456789+12345678 9+123456789+123456789+1234
    > 56789+123456789+123456789+123456789+123456789+12 . . .
    >
    >
    > The line 55 have :
    >
    > Set rsREGI = Server.CreateObject("ADODB.Recordset")
    > SQLREGI ="INSERT INTO registos
    >
    (processo,etapa,tipo,emissor,bcc,receptor,cc,data, assunto,texto,sit,ficheiro
    >
    ,id_ref,refproant,obs,id_refocor,sector,importante ,id_forn,via,docref,datapr
    > ev,respacc,alerta,devol,causas,reqnorma) VALUES
    >
    ("&fprocesso&","&fetapa&",'"&Request.Form("ftipo") &"','"&futilizador&"','"&f
    >
    bcc&"','"&Request.Form("freceptor")&"','"&Request. Form("fcc")&"',date(),'"&f
    >
    assunto&"','"&fTexto&"','A','"&xpathficheiro&"','' ,'','"&fObs&"','','"&fsect
    > or&"',.f.,0,'Mail','',ctod('"&fdias&"'),'',ctod(' . . '),ctod(' .
    ..
    > '),'" & Request.form("fcausas") & "','"&freqnorma&"')"
    > rsREGI.Open SQLREGI,ConnF,0,3
    >
    >
    >
    >
    >
    > "Manohar Kamath [MVP]" <mkamath@TAKETHISOUTkamath.com> escreveu na
    mensagem
    > news:OUKdTnQcDHA.1044@TK2MSFTNGP10.phx.gbl...
    > > Could you please show us the error message?
    > >
    > > --
    > > Manohar Kamath
    > > Editor, .netBooks
    > > [url]www.dotnetbooks.com[/url]
    > >
    > >
    > > "webfox" <webfox@sapo.pt> wrote in message
    > > news:%23Zk4iBLcDHA.3044@TK2MSFTNGP11.phx.gbl...
    > > > Hello!
    > > > I have a Visual FoxPro table with Memos fields, and when i insert into
    > the
    > > > table a value that cames from a TEXTAREA field on a form, give me an
    > > error.
    > > > Why? if the table field is MEMO?
    > > > Thanks
    > > >
    > > >
    > >
    > >
    >
    >

    Karim Dahdah 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