close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

results pages

Thread began 1/17/2010 5:15 am by steve.tucker253175 | Last modified 1/18/2010 12:12 pm by steve.tucker253175 | 1068 views | 2 replies |

steve.tucker253175

results pages

I have run the data assist wizard and have created a set of pages based on a single table and I have added menu items to record foreign keys of code tables in the update and insert pages.

But I must be missing the obvious because I cannot see how to change the results page to return a text value from my code table instead of the FK storded in the data base.

using the wizard the following SQL is generated

SELECT IP_SNAPSHOT_TABLE.ID,
IP_SNAPSHOT_TABLE.SSI_TABLE_NAME,
IP_SNAPSHOT_TABLE.SSI_SS_DESTINATION

FROM IP_SNAPSHOT_TABLE

However I want to return the text description from the code table not the FK

I have tried updating the SQL directly but this produces an error.

SELECT IP_SNAPSHOT_TABLE.ID,
IP_SNAPSHOT_TABLE.SSI_TABLE_NAME,
IP_SNAPSHOT_TABLE.SSI_SS_DESTINATION,
IP_DESTINATIONS.DEST_NAME
FROM IP_SNAPSHOT_TABLE INNER JOIN
IP_DESTINATIONS ON IP_SNAPSHOT_TABLE.SSI_SS_DESTINATION =
IP_DESTINATIONS.ID

This is such a simple thing to do I must be missing the obvious, can anyone help?

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

You will need to modify the SQL To use an INNER JOIN like you have tried.

You say the SQL You are using produces an error, but dont specify what the error is.

Can you let us know what the error message is?

Sign in to reply to this post

steve.tucker253175

Thanks Jason

I have sorted my issue in the code but I just thought there would be an option to do this in the wizard.

Thanks for putting my mind to rest.

For anyone else experiencing this issue. You can also create a view in the database and run the wizard with this as the table of focus.

Backed up the result page.

Re-run the wizard for the real table.

Replace the results page.

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