FP98: How to Remove or Customize the "No Records Returned" MessageID: Q182122
|
If you use an insert query in your database region, you may receive the following message when you open your page in a Web browser:
No Records Returned.
This article describes how to customize or remove this message.
Microsoft Technical Support will not resolve problems produced by editing the HTML that FrontPage generates. This HTML code sample is provided as a convenience for authors seeking to extend the capabilities of FrontPage. For more information about writing HTML, please see the following Microsoft Web site:
http://www.microsoft.com/workshop/author/newhtml/default.htmWARNING: ANY USE BY YOU OF THE HTML PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this HTML "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.
fp_sNoRecords = "No Records Returned"NOTE: The text between the quotation marks (in this example, "No Records Returned"), is the message that appears if no records are returned from the query.
s-NoRecordsFound = "This is My Message"If you do not want any message to be displayed, delete the text between the quotation marks, for example:
s-NoRecordsFound = ""
To apply this format Edit the text string as follows
------------------------------------------------------------------------
Heading 1 s-NoRecordsFound = "<H1>My Message</H1>"
Center s-NoRecordsFound = "<CENTER>My Message</CENTER>
Hyperlink s-NoRecordsFound = "<A href="link.htm">My
Message</A>"
Hyperlink and Center s-NoRecordsFound = "<CENTER>
<A href="link.htm">My Message</A></CENTER>"
Additional query words: 98 asp database vbscript html
Keywords : kbdta fpedit fphtml fpactive fpscript
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbhowto
Last Reviewed: July 27, 1999