CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Showing records in a new window?

Print topic Send  topic

Author Message
CZ2k38

Posts: 5
Posted: 04/03/2005, 12:23 PM

I've used CodeCharge Studio's Grid & Record Builder wizard and everything came out fine like its supposed to. However, I'm trying figure out a way to show the list of information on the page and then have the records open up in a new window instead of all on the same page. I'm pretty new to CCS so I'm probably missing a setting to accomplish this. Would appreciate any help!
View profile  Send private message
peterr


Posts: 5971
Posted: 04/03/2005, 2:05 PM

There are couple ways to do this:
1. You can edit the HTML and use the TARGET attribute.
See: http://wp.netscape.com/eng/mozilla/2.0/relnotes/demo/target.html
Or
2. select your link, then in Properties panel select the Format tab, then change the "target" property. The result will be the same as #1.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
CZ2k38

Posts: 5
Posted: 04/03/2005, 7:04 PM

Ok great and thank you, I got that working. I have another question because maybe I'm doing this wrong. I have a db consisting of links to websites all with similar data. The data breaks down into two groups: info and settings.

What I am trying to do is build two seperate pages pulling data from the db which I am having no problems with. From there I want a main page (a grid) consisting of the main link information with about 10 entries per page; again which I have no problems with. From there I want a page consisting of sub data that would be linked from the main link page (a record) and opened in a new window.

This where I am having trouble. I can't figure out how to display only the linked data for that specific entry. For example, via the grid page (main page with the info) I want to click the title of the link and have the sub data page opened up only for that specific link. I am trying to explain this as best and cleary as I can. Phew...:-/
View profile  Send private message
peterr


Posts: 5971
Posted: 04/03/2005, 10:31 PM

This works the same way as creating Search & Grid, except that you'd be using the link from the previous page in place of the Search.

Thus simply create your grid and specify "Where Parameter" for your grid, as shown at:
http://docs.codecharge.com/studio/html/QuickStart/Creat...archParams.html
or
http://docs.codecharge.com/studio/html/QuickStart/Creat...earchParam.html
Also see http://docs.codecharge.com/studio/html/UserGuide/Forms/FormDataSource.html

You can even use the Search & Grid Builder to create your last page with sub data. When your search form will work the way you want then you can delete the search form and use the URL parameter instead, which will come from your link on the main page.

_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
CZ2k38

Posts: 5
Posted: 04/04/2005, 8:54 PM

Thank you very much for all the information so far. Its been very useful and helpful. However, I am still having trouble accomplishing my goal.

I put together a basic 'test' page just to give an idea of what I am working with and how I want to manipulate the data. Here's the link: http://68.193.142.61:6354/newproject1/data.asp

Thats basically the formatting I am looking for but instead of the 'record view' at the bottom of the page I want it in another page.

I am trying to stay away from a search feature as you had stated above (unless I miss-understood). So when I click on the 'testb' title, for example, a new page will load with 'View NEWdb' linked information/data. I've tried both of your suggestions with no luck unless I am doing it incorrectly. Thank you again for your time!
View profile  Send private message
CZ2k38

Posts: 5
Posted: 04/07/2005, 12:37 PM

Anyone?
View profile  Send private message
peterr


Posts: 5971
Posted: 04/07/2005, 4:09 PM

1. If you want to open that page in a new window, I've looked at the HTML source of your page at http://68.193.142.61:6354/newproject1/data.asp and I don't see the word "target" in there. The target attribute is used to open a new window.
There are many articles on the Internet that describe the target attribute, so that would be good place to start. You need to modify your HTML.

2. To open a record in a different page (whether in a new window or not) you need to crate that 2nd page, then point to it in the link. Just select the page in "Href Source" property of your link.

3. Or you can create a new page and use the Application Builder to create the two separate pages for you.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
CZ2k38

Posts: 5
Posted: 04/07/2005, 6:23 PM

Ok, great. Thank you very much; will try that. :-)
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.