Ask a Question related to ASP Database, Design and Development.
-
Joel #1
Re: ASP & Mysql - Problem with blank text fields
I hadn't realized I had invalid information in my mail client, I have
updated it and have re-posted to provide accurate information.
"Test" <johndoe@bright.net> wrote in message
news:sStWa.7646$Ly2.1226193@cletus.bright.net...&> I am moving an asp database driven webpage over from a linux server to a
> windows 2000 server running iis. When an attempt is made to read an empty
> text field into variable, the following error results:
>
> ------------------------------------------------------------
>
> Microsoft OLE DB Provider for ODBC Drivers error '80040e21'
>
> Multiple-step OLE DB operation generated errors. Check each OLE DB status
> value, if available. No work was done.
>
> /focus.asp, line 38
>
> ------------------------------------------------------------
>
> Here is a sample of the code:
>
> ------------------------------------------------------------
>
> '================================================= ===========
> ' DECLARE QUERY, PULL DATA
> '------------------------------------------------------------
> strQ = "SELECT * FROM gallery WHERE page = '" & ingallery & "' AND id = '"> inid & "'"
> Set IQ = connect.Execute(strQ)
> While Not IQ.EOF
> outid = IQ.Fields(0)
> outfilename = IQ.Fields(1)
> outpage = IQ.Fields(2)
> outcaption = IQ.Fields(3)
> IQ.Movenext
> Wend
>
> ------------------------------------------------------------
>
> Line 38 is "outcaption = IQ.Fields(3)". I have also tried listing the
> fields in the mysql query instead of using '*', but that doesn't seem to
> help.
>
>
>
Joel Guest
-
Problem with acrobat 9 when validating text fields
Hello I've been using a script to provide feedback for my English Students. The correct input turns the backgroundcolor to green, an incorrect one... -
PDF with text fields problem (illustrator)
Hello, My first post! I will admit that it is a bit hard to follow the format of this forum vs. others I use. I appologize if this question is... -
MySQL import gets SQL errors because of text in fields
I'm using PHPMyAdmin on an Apache2Triad install (latest version; 5.x.x, which installs PHP5 and PHPMyAdmin5 as well). In Access, I exported a table... -
blank spaces in text fields in form
I am a newbie. I have a simple form with just a few fields. A user fills out the form, goes to another page to preview his/her entries, and then may... -
PHP & MySQL :- and input text fields -perlexing!!!
Hi Could anyone help with this perplexing problem. When I make a form on typical text fields and try to put values into those fields from a... -
Joel #2
Re: ASP & Mysql - Problem with blank text fields
Something else I've noticed:
Originally, the caption fields were 'not null' fields. If I set them to
allow null and set all captions that were '' to null, I don't get any
errors. However, as soon as I set one to '', it results the the error I
mentioned earlier.
Some sort of dsn setting I can change perhaps?
"Joel" <joelseph@watchtv.net> wrote in message
news:eUtWa.7647$Ly2.1226051@cletus.bright.net...empty> I hadn't realized I had invalid information in my mail client, I have
> updated it and have re-posted to provide accurate information.
>
> "Test" <johndoe@bright.net> wrote in message
> news:sStWa.7646$Ly2.1226193@cletus.bright.net...> > I am moving an asp database driven webpage over from a linux server to a
> > windows 2000 server running iis. When an attempt is made to read anstatus> > text field into variable, the following error results:
> >
> > ------------------------------------------------------------
> >
> > Microsoft OLE DB Provider for ODBC Drivers error '80040e21'
> >
> > Multiple-step OLE DB operation generated errors. Check each OLE DB'"> > value, if available. No work was done.
> >
> > /focus.asp, line 38
> >
> > ------------------------------------------------------------
> >
> > Here is a sample of the code:
> >
> > ------------------------------------------------------------
> >
> > '================================================= ===========
> > ' DECLARE QUERY, PULL DATA
> > '------------------------------------------------------------
> > strQ = "SELECT * FROM gallery WHERE page = '" & ingallery & "' AND id => &>> > inid & "'"
> > Set IQ = connect.Execute(strQ)
> > While Not IQ.EOF
> > outid = IQ.Fields(0)
> > outfilename = IQ.Fields(1)
> > outpage = IQ.Fields(2)
> > outcaption = IQ.Fields(3)
> > IQ.Movenext
> > Wend
> >
> > ------------------------------------------------------------
> >
> > Line 38 is "outcaption = IQ.Fields(3)". I have also tried listing the
> > fields in the mysql query instead of using '*', but that doesn't seem to
> > help.
> >
> >
> >
>
Joel Guest



Reply With Quote

