PC Review


Reply
Thread Tools Rate Thread

Add record to access database - record not added

 
 
=?Utf-8?B?VHJldm9y?=
Guest
Posts: n/a
 
      9th Dec 2005
I've used the FRP DIW to create a submission page to add a record to a table
in an access database. The page seems to work, in that it returns the
confirmation page after adding the record. When inspecting the table in the
DB the 'added' record is not there.

I'm new to FP and web development and am struggling to resolve this. How can
I find the cause of the problem?
--
Trevor
 
Reply With Quote
 
 
 
 
=?Utf-8?B?SmltIEJ1eWVucw==?=
Guest
Posts: n/a
 
      9th Dec 2005
Please try:

Diagnosing Errors Saving a Form to a Database
http://www.interlacken.com/winnt/tip...ow.aspx?tip=35

Jim Buyens
Microsoft MVP
http://www.interlacken.com
Author of:
o--> Microsoft Visual Web Developer 2005 Express Edition: Build a Web Site
Now!
o--> Microsoft Office FrontPage 2003 Inside Out
o--> Microsoft Windows SharePoint Services Inside Out
o--> Faster Smarter Beginning Programming


"Trevor" wrote:

> I've used the FRP DIW to create a submission page to add a record to a table
> in an access database. The page seems to work, in that it returns the
> confirmation page after adding the record. When inspecting the table in the
> DB the 'added' record is not there.
>
> I'm new to FP and web development and am struggling to resolve this. How can
> I find the cause of the problem?
> --
> Trevor

 
Reply With Quote
 
=?Utf-8?B?VHJldm9y?=
Guest
Posts: n/a
 
      9th Dec 2005
Jim, thanks for your tip which I implemented. No errors are reported though,
so I'm still stuck.

Any suggestions onmoving forward? The access database table is a simple two
field table one of which is defined as autonumber. The frontpage submission
form was created using the wizard and I then removed the cell for the
autonumber field. I'm assuming that access will add the data for this field
automatically.

When using the form via IE it accepts the input and moved onto the
confirmation display, but no record appears in the DB table.
--
Trevor


"Jim Buyens" wrote:

> Please try:
>
> Diagnosing Errors Saving a Form to a Database
> http://www.interlacken.com/winnt/tip...ow.aspx?tip=35
>
> Jim Buyens
> Microsoft MVP
> http://www.interlacken.com
> Author of:
> o--> Microsoft Visual Web Developer 2005 Express Edition: Build a Web Site
> Now!
> o--> Microsoft Office FrontPage 2003 Inside Out
> o--> Microsoft Windows SharePoint Services Inside Out
> o--> Faster Smarter Beginning Programming
>
>
> "Trevor" wrote:
>
> > I've used the FRP DIW to create a submission page to add a record to a table
> > in an access database. The page seems to work, in that it returns the
> > confirmation page after adding the record. When inspecting the table in the
> > DB the 'added' record is not there.
> >
> > I'm new to FP and web development and am struggling to resolve this. How can
> > I find the cause of the problem?
> > --
> > Trevor

 
Reply With Quote
 
Kathleen Anderson [MVP - FrontPage]
Guest
Posts: n/a
 
      9th Dec 2005
Trevor:
What version of FrontPage are you using?

--
~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
web: http://www.spiderwebwoman.com/resources/


"Trevor" <(E-Mail Removed)> wrote in message
news:47E88C2C-79C0-4B20-825B-(E-Mail Removed)...
> Jim, thanks for your tip which I implemented. No errors are reported
> though,
> so I'm still stuck.
>
> Any suggestions onmoving forward? The access database table is a simple
> two
> field table one of which is defined as autonumber. The frontpage
> submission
> form was created using the wizard and I then removed the cell for the
> autonumber field. I'm assuming that access will add the data for this
> field
> automatically.
>
> When using the form via IE it accepts the input and moved onto the
> confirmation display, but no record appears in the DB table.
> --
> Trevor
>
>
> "Jim Buyens" wrote:
>
>> Please try:
>>
>> Diagnosing Errors Saving a Form to a Database
>> http://www.interlacken.com/winnt/tip...ow.aspx?tip=35
>>
>> Jim Buyens
>> Microsoft MVP
>> http://www.interlacken.com
>> Author of:
>> o--> Microsoft Visual Web Developer 2005 Express Edition: Build a Web
>> Site
>> Now!
>> o--> Microsoft Office FrontPage 2003 Inside Out
>> o--> Microsoft Windows SharePoint Services Inside Out
>> o--> Faster Smarter Beginning Programming
>>
>>
>> "Trevor" wrote:
>>
>> > I've used the FRP DIW to create a submission page to add a record to a
>> > table
>> > in an access database. The page seems to work, in that it returns the
>> > confirmation page after adding the record. When inspecting the table
>> > in the
>> > DB the 'added' record is not there.
>> >
>> > I'm new to FP and web development and am struggling to resolve this.
>> > How can
>> > I find the cause of the problem?
>> > --
>> > Trevor



 
Reply With Quote
 
=?Utf-8?B?SmltIEJ1eWVucw==?=
Guest
Posts: n/a
 
      10th Dec 2005
Did you just delete the autonumbered field from the form, or did you also
delete it from Form Properties, Options, Saved Fields?

Jim Buyens
Microsoft MVP
http://www.interlacken.com
Author of:
o--> Microsoft Visual Web Developer 2005 Express Edition: Build a Web Site
Now!
o--> Microsoft Office FrontPage 2003 Inside Out
o--> Microsoft Windows SharePoint Services Inside Out
o--> Faster Smarter Beginning Programming


"Trevor" wrote:

> Jim, thanks for your tip which I implemented. No errors are reported though,
> so I'm still stuck.
>
> Any suggestions onmoving forward? The access database table is a simple two
> field table one of which is defined as autonumber. The frontpage submission
> form was created using the wizard and I then removed the cell for the
> autonumber field. I'm assuming that access will add the data for this field
> automatically.
>
> When using the form via IE it accepts the input and moved onto the
> confirmation display, but no record appears in the DB table.
> --
> Trevor
>
>
> "Jim Buyens" wrote:
>
> > Please try:
> >
> > Diagnosing Errors Saving a Form to a Database
> > http://www.interlacken.com/winnt/tip...ow.aspx?tip=35
> >
> > Jim Buyens
> > Microsoft MVP
> > http://www.interlacken.com
> > Author of:
> > o--> Microsoft Visual Web Developer 2005 Express Edition: Build a Web Site
> > Now!
> > o--> Microsoft Office FrontPage 2003 Inside Out
> > o--> Microsoft Windows SharePoint Services Inside Out
> > o--> Faster Smarter Beginning Programming
> >
> >
> > "Trevor" wrote:
> >
> > > I've used the FRP DIW to create a submission page to add a record to a table
> > > in an access database. The page seems to work, in that it returns the
> > > confirmation page after adding the record. When inspecting the table in the
> > > DB the 'added' record is not there.
> > >
> > > I'm new to FP and web development and am struggling to resolve this. How can
> > > I find the cause of the problem?
> > > --
> > > Trevor

 
Reply With Quote
 
=?Utf-8?B?VHJldm9y?=
Guest
Posts: n/a
 
      10th Dec 2005
Jim

I regenerated the page to fully exclude the autonumber field, this didn't
resolve the problem.

Your suggestion was very helpful though. Investigating the form properties,
options tab, then additional fields tab; I discovered that four extra fields
where being posted (ip addr etc), I removed those four fields and hey presto,
it works! Again, thanks for pointing me in the right direction!
--
Trevor


"Jim Buyens" wrote:

> Did you just delete the autonumbered field from the form, or did you also
> delete it from Form Properties, Options, Saved Fields?
>
> Jim Buyens
> Microsoft MVP
> http://www.interlacken.com
> Author of:
> o--> Microsoft Visual Web Developer 2005 Express Edition: Build a Web Site
> Now!
> o--> Microsoft Office FrontPage 2003 Inside Out
> o--> Microsoft Windows SharePoint Services Inside Out
> o--> Faster Smarter Beginning Programming
>
>
> "Trevor" wrote:
>
> > Jim, thanks for your tip which I implemented. No errors are reported though,
> > so I'm still stuck.
> >
> > Any suggestions onmoving forward? The access database table is a simple two
> > field table one of which is defined as autonumber. The frontpage submission
> > form was created using the wizard and I then removed the cell for the
> > autonumber field. I'm assuming that access will add the data for this field
> > automatically.
> >
> > When using the form via IE it accepts the input and moved onto the
> > confirmation display, but no record appears in the DB table.
> > --
> > Trevor
> >
> >
> > "Jim Buyens" wrote:
> >
> > > Please try:
> > >
> > > Diagnosing Errors Saving a Form to a Database
> > > http://www.interlacken.com/winnt/tip...ow.aspx?tip=35
> > >
> > > Jim Buyens
> > > Microsoft MVP
> > > http://www.interlacken.com
> > > Author of:
> > > o--> Microsoft Visual Web Developer 2005 Express Edition: Build a Web Site
> > > Now!
> > > o--> Microsoft Office FrontPage 2003 Inside Out
> > > o--> Microsoft Windows SharePoint Services Inside Out
> > > o--> Faster Smarter Beginning Programming
> > >
> > >
> > > "Trevor" wrote:
> > >
> > > > I've used the FRP DIW to create a submission page to add a record to a table
> > > > in an access database. The page seems to work, in that it returns the
> > > > confirmation page after adding the record. When inspecting the table in the
> > > > DB the 'added' record is not there.
> > > >
> > > > I'm new to FP and web development and am struggling to resolve this. How can
> > > > I find the cause of the problem?
> > > > --
> > > > Trevor

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
add new excel row, when a new access record is added. John Evans Microsoft Access 2 23rd Nov 2008 10:33 PM
Re: New record added, when search for it....result is first record Al Campagna Microsoft Access 3 12th Jan 2007 07:21 PM
EXPORT ACCESS TO SQL DATABASE RECORD BY RECORD... gssitaly via AccessMonster.com Microsoft Access VBA Modules 1 19th Jun 2006 04:14 PM
Access Database record added via asp - but it is not inserted =?Utf-8?B?VHJldm9y?= Microsoft Frontpage 3 28th Mar 2006 01:55 PM
Return Record ID of Newly Added Record Tony Stoker Microsoft Dot NET 6 24th Nov 2003 02:02 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:19 PM.