close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Results page not showing any results

Thread began 3/27/2012 3:09 pm by phillipethington426386 | Last modified 3/29/2012 1:00 pm by Jason Byrnes | 1046 views | 3 replies |

phillipethington426386

Results page not showing any results

I just ran through the data assist wizard for the second time on this table. The results page stopped showing any results so I deleted the pages and ran the wizard again. I can use the insert page to create a record, and I verify that it is in the database, but then the results page shows no records at all. I haven't changed any RS queries. Thanks for your help!

Here is the Show If Code:

<?php if ($totalRows_WADAproduct > 0) { // Show if recordset not empty ?>
<div class="WADAResults">
<div class="WADAResultsNavigation">
<div class="WADAResultsCount">Records
<?php echo ($startRow_WADAproduct + 1) ?>
to
<?php echo min($startRow_WADAproduct + $maxRows_WADAproduct, $totalRows_WADAproduct) ?>
of
<?php echo $totalRows_WADAproduct ?>
</div>
<div class="WADAResultsNavTop">
<table border="0" cellpadding="0" cellspacing="0" class="WADAResultsNavTable">
<tr valign="middle">
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAproduct > 0) { // Show if not first page ?>
<a href="<?php printf("%s?pageNum_WADAproduct=%d%s", $currentPage, 0, $queryString_WADAproduct); ?>" title="First"><img border="0" name="First" id="First" alt="First" src="WA_DataAssist/images/Poppy/Ultramodern_first.gif" /></a>
<?php } // Show if not first page ?></td>
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAproduct > 0) { // Show if not first page ?>
<a href="<?php printf("%s?pageNum_WADAproduct=%d%s", $currentPage, max(0, $pageNum_WADAproduct - 1), $queryString_WADAproduct); ?>" title="Previous"><img border="0" name="Previous" id="Previous" alt="Previous" src="WA_DataAssist/images/Poppy/Ultramodern_previous.gif" /></a>
<?php } // Show if not first page ?></td>
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAproduct < $totalPages_WADAproduct) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_WADAproduct=%d%s", $currentPage, min($totalPages_WADAproduct, $pageNum_WADAproduct + 1), $queryString_WADAproduct); ?>" title="Next"><img border="0" name="Next" id="Next" alt="Next" src="WA_DataAssist/images/Poppy/Ultramodern_next.gif" /></a>
<?php } // Show if not last page ?></td>
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAproduct < $totalPages_WADAproduct) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_WADAproduct=%d%s", $currentPage, $totalPages_WADAproduct, $queryString_WADAproduct); ?>" title="Last"><img border="0" name="Last" id="Last" alt="Last" src="WA_DataAssist/images/Poppy/Ultramodern_last.gif" /></a>
<?php } // Show if not last page ?></td>
</tr>
</table>
</div>
<div class="WADAResultsInsertButton"> <a href="product_Insert.php" title="Insert"><img border="0" name="Insert" id="Insert" alt="Insert" src="WA_DataAssist/images/Poppy/Ultramodern_insert.gif" /></a> </div>
</div>
<table class="WADAResultsTable" border="0" cellpadding="0" cellspacing="0">
<tr>
<th class="WADAResultsTableHeader">Product ID:</th>
<th class="WADAResultsTableHeader">Name:</th>
<th class="WADAResultsTableHeader">Collection:</th>
<th class="WADAResultsTableHeader">Category:</th>
<th class="WADAResultsTableHeader">New Design:</th>
<th class="WADAResultsTableHeader">Most Popular:</th>
<th>&nbsp;</th>
</tr>
<?php do { ?>
<tr class="<?php echo $WARRT_AltClass1->getClass(true); ?>">
<td class="WADAResultsTableCell"><a href="product_Detail.php?ProductID=<?php echo(rawurlencode($row_WADAproduct['ProductID'])); ?>" ><?php echo($row_WADAproduct['ProductID']); ?></a></td>
<td class="WADAResultsTableCell"><a href="product_Detail.php?ProductID=<?php echo(rawurlencode($row_WADAproduct['ProductID'])); ?>" ><?php echo($row_WADAproduct['Name']); ?></a></td>
<td class="WADAResultsTableCell"><?php echo($row_WADAproduct['CollectionID']); ?></td>
<td class="WADAResultsTableCell"><?php echo($row_WADAproduct['CategoryID']); ?></td>
<td class="WADAResultsTableCell"><?php echo($row_WADAproduct['NewDesign']); ?></td>
<td class="WADAResultsTableCell"><?php echo($row_WADAproduct['MostPopular']); ?></td>
<td class="WADAResultsEditButtons" nowrap="nowrap"><table class="WADAEditButton_Table">
<tr>
<td><a href="product_Detail.php?ProductID=<?php echo(rawurlencode($row_WADAproduct['ProductID'])); ?>" title="View"><img border="0" name="View<?php echo(rawurlencode($row_WADAproduct['ProductID'])); ?>" id="View<?php echo(rawurlencode($row_WADAproduct['ProductID'])); ?>" alt="View" src="WA_DataAssist/images/Poppy/Ultramodern_zoom.gif" /></a></td>
<td><a href="product_Update.php?ProductID=<?php echo(rawurlencode($row_WADAproduct['ProductID'])); ?>" title="Update"><img border="0" name="Update<?php echo(rawurlencode($row_WADAproduct['ProductID'])); ?>" id="Update<?php echo(rawurlencode($row_WADAproduct['ProductID'])); ?>" alt="Update" src="WA_DataAssist/images/Poppy/Ultramodern_edit.gif" /></a></td>
<td><a href="product_Delete.php?ProductID=<?php echo(rawurlencode($row_WADAproduct['ProductID'])); ?>" title="Delete"><img border="0" name="Delete<?php echo(rawurlencode($row_WADAproduct['ProductID'])); ?>" id="Delete<?php echo(rawurlencode($row_WADAproduct['ProductID'])); ?>" alt="Delete" src="WA_DataAssist/images/Poppy/Ultramodern_trash.gif" /></a></td>
</tr>
</table></td>
</tr>
<?php } while ($row_WADAproduct = mysql_fetch_assoc($WADAproduct)); ?>
</table>
<div class="WADAResultsNavigation">
<div class="WADAResultsCount">Records
<?php echo ($startRow_WADAproduct + 1) ?>
to
<?php echo min($startRow_WADAproduct + $maxRows_WADAproduct, $totalRows_WADAproduct) ?>
of
<?php echo $totalRows_WADAproduct ?>
</div>
<div class="WADAResultsNavBottom">
<table border="0" cellpadding="0" cellspacing="0" class="WADAResultsNavTable">
<tr valign="middle">
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAproduct > 0) { // Show if not first page ?>
<a href="<?php printf("%s?pageNum_WADAproduct=%d%s", $currentPage, 0, $queryString_WADAproduct); ?>" title="First"><img border="0" name="First1" id="First1" alt="First" src="WA_DataAssist/images/Poppy/Ultramodern_first.gif" /></a>
<?php } // Show if not first page ?></td>
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAproduct > 0) { // Show if not first page ?>
<a href="<?php printf("%s?pageNum_WADAproduct=%d%s", $currentPage, max(0, $pageNum_WADAproduct - 1), $queryString_WADAproduct); ?>" title="Previous"><img border="0" name="Previous1" id="Previous1" alt="Previous" src="WA_DataAssist/images/Poppy/Ultramodern_previous.gif" /></a>
<?php } // Show if not first page ?></td>
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAproduct < $totalPages_WADAproduct) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_WADAproduct=%d%s", $currentPage, min($totalPages_WADAproduct, $pageNum_WADAproduct + 1), $queryString_WADAproduct); ?>" title="Next"><img border="0" name="Next1" id="Next1" alt="Next" src="WA_DataAssist/images/Poppy/Ultramodern_next.gif" /></a>
<?php } // Show if not last page ?></td>
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAproduct < $totalPages_WADAproduct) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_WADAproduct=%d%s", $currentPage, $totalPages_WADAproduct, $queryString_WADAproduct); ?>" title="Last"><img border="0" name="Last1" id="Last1" alt="Last" src="WA_DataAssist/images/Poppy/Ultramodern_last.gif" /></a>
<?php } // Show if not last page ?></td>
</tr>
</table>
</div>
</div>
</div>
<?php } // Show if recordset not empty ?>

Sign in to reply to this post

Jason ByrnesWebAssist

instead of pasting the code into the message, please compress the page to a zip archive and send the zip file so i can see the code in context.

Sign in to reply to this post

phillipethington426386

Here is the zip file requested

Hey Jason,

Thanks for your help. Here is the zip file with the search and results page that Data Assist created. If you need anything else, just let me know.

Attached Files
product_Search_WAhelp.zip
Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

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