Home » RADICORE » How To » Using dropdown
Using dropdown [message #848] |
Fri, 25 May 2007 08:59  |
danpoleary
Messages: 49 Registered: February 2007
|
Member |
|
|
Hello,
I have tried to find a way to get dropdown to work in multi1, and hit this snag.
I have two screens, one is of type list1 and the other of type multi1. The list1 correctly brings up a list of records. while the multi1 fails with the "Primary key (unique_sequence) is not complete - check selection" error that I had in the past. I have checked through all the code, and everything is exactly the same, except one in multi1 and the other list1.
While trying to debug, in the filelist(multi1).php file, I changed the line "require 'std.multi1.inc';" to "require 'std.list1.inc';" to math the one in filelist(list1).php. it now lists the records without error. I then change that line back, and it works, it lists the records with the dropdown list somewhat working (Will not save changes on submit).
cool I think, I am getting there. but why did it all of a sudden start to work. A little later, I had logged off, and logged back in, and yikes filelist(multi1).php gives the error again.
Any help on this would be greatly appreciated.
Dan
|
|
|
|
Re: Using dropdown [message #850 is a reply to message #849] |
Fri, 25 May 2007 13:43   |
danpoleary
Messages: 49 Registered: February 2007
|
Member |
|
|
Hi,
Yes, that is what I thought as well. I figured out how to get the primary key selected, but was wondering how to get a list of records updated. In my scenario, to ease the effort to update a large number of records, I wanted to use multi1 to display, lets say 10 records at a time, and allow the user to use the various dropdowns and radio buttons to change all ten records, then on submit+next, all ten get updated. Can this even be done?
In trying to reach this, I buggered up my select, causing my first two problems. I have that now working (no more key issue) but cannot find a way to allow multiple record updates on a single screen.
Thanks,
Dan
|
|
|
|
|
|
Goto Forum:
Current Time: Sat Jul 05 04:28:53 EDT 2025
Total time taken to generate the page: 0.01262 seconds
|