optron
Posts: 114
|
| Posted: 09/30/2006, 10:47 AM |
|
This is a newbie question so don't get upset.
I created a grid page using GridRecord Builder. Then I created RecordForm(edit form) using Record Bulder. I can't find anywhere in a manual an example or help how to link the two pages, so if a user wants to add / edit record the linked page with the form displays properly. So far I was able to create a link no the browse record page but when it opens the form page there is no corelation betwen the two. I'm really suprised there is no tutorial on that, or perhaps I'm missing something.
Arthur
_________________
==============================
don't forget to check: www.youngliving.us
use: 739947 to register |
 |
 |
peterr
Posts: 5971
|
| Posted: 09/30/2006, 2:00 PM |
|
You can use the Link control to link any multiple forms, whether Grid & Record, or multiple Grids, or multiple Records. Possibly this will help: http://docs.codecharge.com/studio3/html/UserGuide/Contr...k/Overview.html
Once you configure the link to pass URL parameters to the destination page (or the same page) then any form on that page can use the URL parameters to retrieve only the matching record(s). Your record form may already be configured to retrieve the URl parameter, but if not then take a look at the Data Source section and screenshot at http://docs.codecharge.com/studio3/html/UserGuide/Forms/RecordForm.html , or look at the "Data Source" property of any working record form, for example from a sample application.
However, in your case it may be better to use the "Grid and Record Builder" to create both Grid and Record at the same time and they will be linked automatically. The builder takes you through self-explanatory steps that create what you described.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
optron
Posts: 114
|
| Posted: 09/30/2006, 2:39 PM |
|
thanks for reply, this helped
.
Another question: How (if possible) to make one page with one form (Record) on it and have several user selectable tabs ? I'm talking about concept you can see on many pages (i.e amazon.com and others After filling information into all tab fields the finaly users clisk SUBMINT (or OK) to Add/Update record
Arthur
_________________
==============================
don't forget to check: www.youngliving.us
use: 739947 to register |
 |
 |
peterr
Posts: 5971
|
| Posted: 09/30/2006, 11:00 PM |
|
You could do this by modifying your HTML page. See: http://www.google.com/search?q=html+tabs http://www.htmlgoodies.com/beyond/dhtml/article.php/3470511
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
stanbeck
Posts: 6
|
| Posted: 10/25/2006, 1:43 PM |
|
I'm attempting to reformat my Get Parameter for Search Engine Spider friendliness reasons --this:
http://www.zend.com/myscript.php?myvalue=Hello
will be translated into this:
http://www.zend.com/myscript.php/myvalue/Hello
The what that I want to do this is on a single form, where I have a set of links (grid) that can be clicked on to bring up a record. Simple enough in concept.
So, in my grid portion, I've got the following:
<input type="hidden" value="{id}" name="{id_Name}">
<input type="hidden" value="{token}" name="{token_Name}">
<input type="hidden" value="{title}" name="{title_Name}">
<a href="test_page.php/{id}/{token}">{title}</a>
Notice that the <A> is reformatted to my desired format. All I'm really after is the {id} piece -- the token is their for the spider.
Here is how I parse or can parce the newly formated get:
global $_SERVER;
$url = explode("/",$_SERVER['PATH_INFO']);
$new_id = $url[0];
Now I need to pass the value in $new_id to my record form, which is where I'm having the difficulty.
How do I pass (assuming as a parameter) the value in $new_id to the record form?
Thanks very much.
Stan B
|
 |
 |
|