This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > September 2005 > Re: One-to-many relationships help please





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: One-to-many relationships help please
bregent

2005-09-15, 7:30 pm

Just create an insert page that creates a new review row and pass it the resourceid.
~Billy~

2005-09-16, 7:42 am

I tried that but when i run the page,Explorer gives me an error message saying
I must use an updateable query.

The 2 tables I have are-

"table1" - with ITEMID (autonumber) and TITLE.
"table2" - with ReviewID, itemid, reiviewtext, score.

The tables are linked in Access with a 1-many relationship between the ITEMID
fields (ie one item has many reviews).

In Dreamweaver I need to write into table2 to add reviws based on ITEMID from
table1,but the REVIEWID in table2 isn't incrementing.l

I have got Dreamweaver to display existing items and their reviews,but the
insert new review just isnt working.

bregent

2005-09-16, 7:37 pm

Is your recordset for this insert based on a table, or a query? Is the ReviewID an autonumber? Are you including it in the insert?
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews