|
| |
|
|
designzo
Posts: 16 Joined: 10/10/2007 Status: offline
|
losing data on frontpage edit from drop down boxes - 10/10/2007 1:29:56
We have created an availability system using Frontpage 2002 and Access 2003, please see http://www.designzontravel.co.nz/Database1_interface/Acottemp/editor/database_editor.asp Problem is that when we edit we lose our previous edits, each month is a record and days are fields Edit returns all fields that all get updated with each edit we have read articles on fixing results from drop downs but can not make it work Should we be filling edit cells another way, we have had it working using simple text letters but are keen to keep the colored boxes but can not ask users to put in the image files ie images/full.gif Any help would be appreciated Thank you
|
|
|
|
designzo
Posts: 16 Joined: 10/10/2007 Status: offline
|
RE: losing data on frontpage edit from drop down boxes - 10/10/2007 15:41:01
Thanks Spooky edit.asp was created entirely as standard by the Frontpage DBR wizard, option chosen for fields we wanted to update/change was dropdown boxes with 3 options we then changed edit.asp by going to html view and putting values for the 3 options i.e. for option 1 adding "images/avail.gif" and Available <td align="center" height="15"> <select size="1" name="S1"> <option <% if "Option 1" = FP_Field(fp_rs,"S1") then %> selected <% end if %> value="images/avail.gif">Available</option> <option <% if "Option 2" = FP_Field(fp_rs,"S1") then %> selected <% end if %> value="images/full.gif">Booked</option> <option <% if "Option 3" = FP_Field(fp_rs,"S1") then %> selected <% end if %> value="images/special.gif">Special</option> </select></td> We have also tried doing it though the normal view but lose the selected value on all fields, we have tried having a default selection and having no selection. Other mods were to list.asp and results_page.asp where we inserted an image in the field, went to picture properties, general, deleted picture parameter, and added field parameter to get a picture place holder. Thanks again
|
|
|
|
designzo
Posts: 16 Joined: 10/10/2007 Status: offline
|
RE: losing data on frontpage edit from drop down boxes - 10/10/2007 16:37:13
Thank you very much Spooky Works perfectly! you're a star
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|