Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

8.02 Insert issue with blank radio buttons

Guest
Dec 06, 2006 Dec 06, 2006
I've found a weird bug. With 8.02 using ASP VB script, if I have two radio buttons on a page (opt in / opt out) and both are unchecked by default, when the form is submitted to an access database, and nothing was checked, I'm getting the following error.

Microsoft OLE DB Provider for ODBC Drivers (0x80040E57)
[Microsoft][ODBC Microsoft Access Driver]Invalid string or buffer length


But, if you check one of the boxes, things work. This is something that has never happened before and I've developed MANY forms. The database field is a test field with a length of 50.

What's going on?
TOPICS
Server side applications
292
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Dec 09, 2006 Dec 09, 2006
Jim_Deitzel wrote:

> I've found a weird bug. With 8.02 using ASP VB script, if I have two radio
> buttons on a page (opt in / opt out) and both are unchecked by default, when
> the form is submitted to an access database, and nothing was checked, I'm
> getting the following error.
>
> Microsoft OLE DB Provider for ODBC Drivers (0x80040E57)
> [Microsoft][ODBC Microsoft Access Driver]Invalid string or buffer length
>
>
> But, if you check one of the boxes, things work. This is something th...
Translate
LEGEND ,
Dec 07, 2006 Dec 07, 2006
Does that column accept null values?

> I've found a weird bug. With 8.02 using ASP VB script, if I have two radio
> buttons on a page (opt in / opt out) and both are unchecked by default, when
> the form is submitted to an access database, and nothing was checked, I'm
> getting the following error.
>
> Microsoft OLE DB Provider for ODBC Drivers (0x80040E57)
> [Microsoft][ODBC Microsoft Access Driver]Invalid string or buffer length
>
>
> But, if you check one of the boxes, things work. This is something that has
> never happened before and I've developed MANY forms. The database field is a
> test field with a length of 50.
>
> What's going on?
>
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 07, 2006 Dec 07, 2006
Yes, it does.

Like I mentioned. I've done a million forms over the years. This is the first form using the new 8.02 server behaviors.

Required = No
Allow Zero Length = Yes

I've never seen anything like it.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 09, 2006 Dec 09, 2006
LATEST
Jim_Deitzel wrote:

> I've found a weird bug. With 8.02 using ASP VB script, if I have two radio
> buttons on a page (opt in / opt out) and both are unchecked by default, when
> the form is submitted to an access database, and nothing was checked, I'm
> getting the following error.
>
> Microsoft OLE DB Provider for ODBC Drivers (0x80040E57)
> [Microsoft][ODBC Microsoft Access Driver]Invalid string or buffer length
>
>
> But, if you check one of the boxes, things work. This is something that has
> never happened before and I've developed MANY forms. The database field is a
> test field with a length of 50.
>
> What's going on?
>
"HTML strict" requires that one radio button per group be checked by
default.
Mick
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines