Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > Dreamweaver (all versions)
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old May 4th, 2004, 02:40 PM
Authorized User
 
Join Date: Nov 2003
Location: , , .
Posts: 85
Thanks: 0
Thanked 0 Times in 0 Posts
Default Repeat region, I cannot change the 'show records'

I have created a master-detail page set in Dreamweaver.
This application object created a server behavior named 'repeat region' that displays 18 records in master page.

Now I decided to change this to display 22 records.
Unforunately it don't let me do it.
I select the repeat region server behavior. I go to the properties panel and I change in the 'Show: 18 records' to the number 22.
Then Dreamweaver displays a window popup message thas says: "The recordset was only partialy deleted. To delete it entirely, undo your edit and click the minus(-) button in the Server Behavior Inspector'.

But, I did not wanted to delete it. Why Dreamweaver supposes such a thing? All I need is just a change in the number!

I also looked at the appropriate code but I could not find the number 18. So, something happen here and I cannot make my simple task.

Please help me to overcome my strange problem.

  #2 (permalink)  
Old May 4th, 2004, 02:46 PM
Authorized User
 
Join Date: Jul 2003
Location: New Milford, NJ, USA.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to chabrown Send a message via MSN to chabrown
Default

I have bumped into this myself and it is caused by the recordset getting corrupted somehow. Perhaps there were other things going on that caused its corruption.

Here is what I do:

As strange as this sounds, I close DW out completely and reopen the website. Occasionally things get caught up in memory and this sometimes help.

If that does not work, try to delete the recordset and rebuild it. It only takes a couple of minutes to rebuild usually. If you do that, makes sure any reference to it is wiped out in the Header of the HTML code.

Let me know if it works,
Charles

Charles E. Brown
Author - Beginning Dreamweaver MX, Fireworks MX - Zero to Hero
Contributor - Macromedia Studio MX Bible
  #3 (permalink)  
Old May 4th, 2004, 04:10 PM
Authorized User
 
Join Date: Nov 2003
Location: , , .
Posts: 85
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your response.

I was not lucky enough to exit from Dreamweaver and solve my problem. I even restart the pc. Nothing changed at all.

Unfortunatelly, the deleting is not a solution for me.
- I am not a programmer, I use Dreamweaver's internal (excellent) application objects.
- When I delete the repeat region, Dreamweaver deletes from server behaviors all recordsets! So I should create them all from scratch.
- At last, I have spent many time in configuring these recordsets and master-detail page set. I have not the time to create them again.
- It is possible to want to make a change again, after a few weeks. What I 'll do then?

I think the repeat region should store somewhere the value (number of records) the user gives. Where is it?
What else can I do?
I would appreciate if you could suggest me a way to solve my problem, other from deleting.

Thanks in advance

  #4 (permalink)  
Old May 6th, 2004, 03:27 PM
Authorized User
 
Join Date: Nov 2003
Location: , , .
Posts: 85
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Finally I found were in the asp code was stored the value of the number of records to be shown, so I changed it manually.

Now everything is ok.

Thanks for your support


Similar Threads
Thread Thread Starter Forum Replies Last Post
Update form and Repeat Region malhyp Dreamweaver (all versions) 8 May 26th, 2006 03:18 PM
Sort a repeat region hendricksonet VBScript 0 August 11th, 2005 01:55 PM
Doesn't show all records from a table janise Access 10 July 27th, 2005 04:19 AM
hyperlink in repeat region recordset stephanvh Dreamweaver (all versions) 3 June 16th, 2005 01:05 PM
Repeat Region with a difference. fatmcgav Dreamweaver (all versions) 2 January 17th, 2005 05:00 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.