This topic is locked

How to create Hyperlink so as to -

10/1/2005 8:40:09 PM
ASPRunnerPro General questions
T
tiedanjj author

I creat a hyperlink in the field 1 'News Title' (the function provided by ASPRunner), then I want to click this hyperlink 'News Title' to open the text content of the field 2 'News' in a seperate window. Can this be done without modifying the code, or if no, how to modify the code to achieve this? Thanks!

Sergey Kornilov admin 10/3/2005

Hi,
You can use View page as a separate window for News displaying.

It can be done without modifying the code the following way:
Proceed to Formattingtab in ASPRunner.

  1. Uncheck List pagecheckboxes for News Titleand Newsfields.
  2. Set View as - Hyperlinkformat for ID field. Click Change...

  • set URL prefix - files_view.asp?editid=
  • check off Open link in a new browser window checkbox
  • check off Display field contentradiobutton and choose News Title
    Build a project.

T
tiedanjj author 10/4/2005

Thanks for the response. I followed the above steps, however news_view.asp page displayed the following error:
Error Type:

Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)

[Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near the keyword 'and'.

/news/news_view.asp, line 66
FYI, pointing the hyperlink News Title shows http://localhost/news/news_view.asp?newsid=228'
Advised please. Thank you!

Sergey Kornilov admin 10/4/2005

Hi,
please zip and send to support@xlinesoft.com your project file along with your database creation script or database itself. I'll find what's wrong running it on my test box.