On Saturday 03 March 2007 02:32, Julian Rendell wrote: > Hi there- > first thanks to the developers for creating Dabo. From the screencasts, > it's very slick, and having only looked at a little code, it looks > reasonably straight-forward. > > Here's my situation: we have a lot of test results we need to be able to > go through, and it's not the easiest to compare results with our current > system. Of course there's no time to spend on doing anything but look > at the results... I'm hoping dabo may be able to accelerate us past this > point. > > I've used the appwizzard, and it's created a very nice app that lets me > limit the result set and see it in a grid, and even edit it. > > This is how I'd like to change it, but I have no idea where to start for > item 4 and beyond: > > 1. Change the edit page to be a viewer only (think I can figure that out) > 2. Reduce the number of columns in the results page (can do that) > 3. split the results page in two via a sizer, and move the edit/view > form onto this page (can probably nut that out) > * 4. Make clicks on rows in the data-grid update the view form with that > row's contents (Erg- help please...) > * 5. I Need to add a new column to the grid. This would be a > 'reschedule' checkbox. It won't come from the database; it needs to be > stored (preferably as part of the associated row) in the interpreter. > (Help please- how to add/store this field, and how to make it a check > box in the grid cell) > * 6. Add a new page with a new grid, just containing the rows with > 'reschedule' checked. There will need to be some other drop down lists > with some selectable parameters. > There needs to be a submit button- onHit, it will need to get all the > data from the grid where reschedule=true, combine with the current value > of the drop-down lists mentioned in 5, and then create new rows in the > database; custom SQL will probably be the easiest... (Help please, where > do I start on this point?!) > > Any suggestions or other help greatly appreciated! > > Thanks, > > Julian This really sounds like a job for ClassDesigner. Check out Ed's screencast "Building a Database App in the ClassDesigner" parts 1 and 2 as the first step.
After you have that under your belt you can ask questions about how to setup the grids and pageframes. If memory serves there is a wiki answer for adding a checkbox to a grid. But if not we can help. -- John Fabiani _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
