close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Is unique key required for Detail page to work?

Thread began 12/04/2009 6:10 am by david.barrack304604 | Last modified 12/04/2009 12:26 pm by Jason Byrnes | 825 views | 1 replies |

david.barrack304604

Is unique key required for Detail page to work?

I have a results page with a listing of items and when clicking on one of the items to navigate to the details page the same item detail is listed regardless of which item I select. Does DA require that each of the items listed in the results page have a unique key and then use that unique key to display the selected row on the details page?

As a recommendation, the DA documentation should probably be much more clearer on what is required in terms of the database design. I believe that you do in fact have to maintain a unique key on each table if you want to navigate to the details for each item. It's good DB design to do this but I'd like the option to not have to do it in cases where it would be easier to leave it off for reporting purposes.

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, you do need to have a unique Primary Key Column in your database to be able to drill down to a specific record.


This is not so much a limitation imposed by DataAssist.

the job of a primary key column is to be a unique identifier for the record to be used by the database for indexing purposes.

With out a primary key column, you will have to use another column to uniquely identify the record for looking up the details, this can become problematic though. Since the database will not be responsible for making sure the value in that column is unique, you could insert duplicate keys. In the case of a detail page, only the first record would be displayed, causing the duplicate top become orphaned.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...