DaveM
Posts: 11
|
| Posted: 05/23/2008, 7:03 AM |
|
My Problem is, when the details of a record are displayed in a form, i need a 'Next / Previous' button on the form to select the next or previous record from the list screen that i have just selected from.
How my application is used
I select a record from a list screen of all available records that i have permission to see, this then opens up into a display form / screen, from here i would like to select the next record without having to close the form and go back to the list screen.
Also, because certain people who use the form will have different permissions, thier list may show a different set of records, thus relying on the record ID to increment or Decrement by 1 is not possible.
E.G My first record may be 11 and the next one in my list could be 15
Hopefully someone out there is able to help.
Many thanks
Dave
|
 |
 |
wkempees
Posts: 1679
|
| Posted: 05/23/2008, 9:00 AM |
|
http://examples.codecharge.com/ExamplePack/NavRecordGrid/NavRecordGrid.php
Through Help file [F1] see Examples and Techniques->Example pack
Walter
HTH
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)
if you liked this info PAYPAL me: http://donate.consultair.eu
|
 |
 |
DaveM
Posts: 11
|
| Posted: 06/04/2008, 4:54 AM |
|
Thanks for your reply,
I've done it using the editable grid like you said but when i select a row from the list screen the editable grid opens with the first row in the list screen not the row that i selected, is there any way i can select a row to open and when it does, move forward or backwards from that point?
Many Thanks
Dave
|
 |
 |
wkempees
Posts: 1679
|
| Posted: 06/04/2008, 3:32 PM |
|
The navGrid is not positioning on the tables identifying ID as a normal recordform would.
It is using pagenumber as a positioner, pages being only 1 row, you would have to know on which pagenumber your wanted record is and feed the pagenumber on the URL.
You/I will see if you/i can find a quick clever way to find out on which pagenumber a requested ID is.
Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)
if you liked this info PAYPAL me: http://donate.consultair.eu
|
 |
 |
|