close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


How to show text from a relationship table

Thread began 12/21/2011 10:06 am by bhblake | Last modified 12/22/2011 11:03 am by bhblake | 553 views | 2 replies |


How to show text from a relationship table

I am setting up my Data Assist Details page and in my database "Product" table I have field entitled "ProductPcolorsID" this field is the reference for the product's colors. The "Pcolors" table has the following two fields that the Product table is referencing: "PcolorsID" and a "PcolorName" field.

On my details page it is showing the "PcolorsID"( i.e., "1") number, however I want show the "PcolorName" (i.e., "red") that it references . How do I accomplish this.

Thanks as always.

Sign in to reply to this post

Jason ByrnesWebAssist

you will need to edit the recordset on the details to use a joined query to join the Pcolors table.

you wont need to edit the where clause of the recordset, but you will need to edit the recordsets select statement to something like:

SELECT Product.*, Pcolors.PcolorName
FROM Product
ON Product.PcolorsID = Pcolors.PcolorsID

then in your page, change the binding for the PcolorsID to use the PcolorName column from the recordset.

for more details on join queries, see the following page:

Sign in to reply to this post


works perfectly. thanks

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





Ease of use


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...