Ask a Question related to ASP Database, Design and Development.
-
webfox #1
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
-
#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: ... -
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... -
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 : ... -
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... -
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... -
Manohar Kamath [MVP] #2
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...error.> 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> Why? if the table field is MEMO?
> Thanks
>
>
Manohar Kamath [MVP] Guest
-
webfox #3
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...the> 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> error.> > table a value that cames from a TEXTAREA field on a form, give me an>> > Why? if the table field is MEMO?
> > Thanks
> >
> >
>
webfox Guest
-
Karim Dahdah #4
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...ftipo=N&fdataprev=5&freceptor=gqmonitor@ruitrol.ne t&fcausas=N%E3o+aplic%E1ve> 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
>l.&ftexto=++123456789+123456789+123456789+12345678 9+123456789+123456789+1234>(processo,etapa,tipo,emissor,bcc,receptor,cc,data, assunto,texto,sit,ficheiro> 56789+123456789+123456789+123456789+123456789+12 . . .
>
>
> The line 55 have :
>
> Set rsREGI = Server.CreateObject("ADODB.Recordset")
> SQLREGI ="INSERT INTO registos
>,id_ref,refproant,obs,id_refocor,sector,importante ,id_forn,via,docref,datapr>("&fprocesso&","&fetapa&",'"&Request.Form("ftipo") &"','"&futilizador&"','"&f> ev,respacc,alerta,devol,causas,reqnorma) VALUES
>bcc&"','"&Request.Form("freceptor")&"','"&Request. Form("fcc")&"',date(),'"&f>assunto&"','"&fTexto&"','A','"&xpathficheiro&"','' ,'','"&fObs&"','','"&fsect>..> or&"',.f.,0,'Mail','',ctod('"&fdias&"'),'',ctod(' . . '),ctod(' .mensagem> '),'" & Request.form("fcausas") & "','"&freqnorma&"')"
> rsREGI.Open SQLREGI,ConnF,0,3
>
>
>
>
>
> "Manohar Kamath [MVP]" <mkamath@TAKETHISOUTkamath.com> escreveu na> news:OUKdTnQcDHA.1044@TK2MSFTNGP10.phx.gbl...> the> > 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>> > error.> > > table a value that cames from a TEXTAREA field on a form, give me an> >> > > Why? if the table field is MEMO?
> > > Thanks
> > >
> > >
> >
>
Karim Dahdah Guest



Reply With Quote

