April 18, 200124 yr Hi Guys, I've managed to hit a brick wall almost from the beginning in developing an online timetable system for our students to query. What I want them to do is select the classes they attend and press 'submit' to get a table they can printout which lays out their timetable as below: Monday Tuesday .... 0800 FY3501 Room 2 Dr. X 0900 FY3501 FY3520 Room 2 Room 7 Dr. X Dr. W 1000 etc. I can set it up so they get a big long list of entries for their mulitple search however I'm really stuck in trying to visualise the cdml codes in the html table and how to pull data from a database and insert it into the correct cells in the table, depending on the student's course search. If anyone can help or know of an existing solution I'd be very greatful. Thanks Frazer
April 18, 200124 yr Author Hi Guys, Cracked it: Each cell in my table has code resembling the following entered: [fmp-record][FMP-If:start_time.eq.0800][FMP-If:day.eq.Mon][fmp-field:Course] [fmp-field:location] [fmp-field:type] [/FMP-IF][/FMP-IF][/fmp-record] By varying the if statements I can display different results from the search. Cheers, Frazer
April 20, 200124 yr Frazer has provided a very good example of the power to be found in the conditional [fmp-if] when used wisely as a solution on the format file. If you are learning this stuff, pay attention. SIMPLIFY ... Keith
Create an account or sign in to comment