(DropDown ?) Button Displayed
I am populating a drop list with values from a field in another table, this part works fine. But with both AddNew and Update, a button named (DropDOwn ?) appears alongside the other buttons (Add New Record, Reset) and (Update Current Record, Reset). What is it? and how do I get rid of it?
Here is the related html code generated.
</select></TD></TR><Tr><th align=right BGCOLoR=#99CCFF ><font color=#0000cc>CAIDType </font></th><TD align=left><INPUT name="CAIDType" TYPE=TEXT MAXLENGTH=50 SIZE=25 VALUE=''></TD></TR><Tr><th align=right BGCOLoR=#99CCFF ><font color=#0000cc>RxCoverage </font></th><TD align=left><INPUT name="RxCoverage" TYPE=TEXT MAXLENGTH=50 SIZE=25 VALUE=''></TD></TR></tr></TABLE></table></CENTER><br><center><TABLE><TR><td><A HREF="/demo4x/Ex5.asp?aspDBBut_999=aspDBgoForm::0"><IMG border=0 VALIGN=middle SRC='../images/Cancel.gif'></td></A><td><INPUT TYPE=Submit NAME=aspDBEditBut_999 VALUE='DropDown ?'></td><td><INPUT TYPE=Submit NAME=aspDBEditBut_999 VALUE='Add New Record'></td><td><INPUT TYPE=Reset VALUE='Reset'></td></tr></table></center></FORM><A NAME=ASPDB_999> </A>
</BODY>
</HTML>
(DropDown ?) Button Displayed (reply)
Mary-
I think this toggles the drop-down field. Click it once, and the drop-down will go away. Click it again and it comes back.
I don't know what version you have, but in EP you can turn it off by setting the value of zDrop to "none" in dbUserLocalText. Note that you have to use the aspdb.inc file to use the constant name zDrop. Otherwise, substitute the number 22 for the name zDrop.
Paul
------------
Mary Roberts at 5/14/00 11:20:14 AM
I am populating a drop list with values from a field in another table, this part works fine. But with both AddNew and Update, a button named (DropDOwn ?) appears alongside the other buttons (Add New Record, Reset) and (Update Current Record, Reset). What is it? and how do I get rid of it?
Here is the related html code generated.
</select></TD></TR><Tr><th align=right BGCOLoR=#99CCFF ><font color=#0000cc>CAIDType </font></th><TD align=left><INPUT name="CAIDType" TYPE=TEXT MAXLENGTH=50 SIZE=25 VALUE=''></TD></TR><Tr><th align=right BGCOLoR=#99CCFF ><font color=#0000cc>RxCoverage </font></th><TD align=left><INPUT name="RxCoverage" TYPE=TEXT MAXLENGTH=50 SIZE=25 VALUE=''></TD></TR></tr></TABLE></table></CENTER><br><center><TABLE><TR><td><A HREF="/demo4x/Ex5.asp?aspDBBut_999=aspDBgoForm::0"><IMG border=0 VALIGN=middle SRC='../images/Cancel.gif'></td></A><td><INPUT TYPE=Submit NAME=aspDBEditBut_999 VALUE='DropDown ?'></td><td><INPUT TYPE=Submit NAME=aspDBEditBut_999 VALUE='Add New Record'></td><td><INPUT TYPE=Reset VALUE='Reset'></td></tr></table></center></FORM><A NAME=ASPDB_999> </A>
</BODY>
</HTML>
(DropDown ?) Button Displayed (reply)
BTW, Ther is another way. PLease check out ->
http://2000.aspdb.com/htmldoc/dbButtonsOnOff.shtm
let me know how it works.
FK
------------
Paul Woods at 5/15/00 2:53:17 PM
Mary-
I think this toggles the drop-down field. Click it once, and the drop-down will go away. Click it again and it comes back.
I don't know what version you have, but in EP you can turn it off by setting the value of zDrop to "none" in dbUserLocalText. Note that you have to use the aspdb.inc file to use the constant name zDrop. Otherwise, substitute the number 22 for the name zDrop.
Paul
------------
Mary Roberts at 5/14/00 11:20:14 AM
I am populating a drop list with values from a field in another table, this part works fine. But with both AddNew and Update, a button named (DropDOwn ?) appears alongside the other buttons (Add New Record, Reset) and (Update Current Record, Reset). What is it? and how do I get rid of it?
Here is the related html code generated.
</select></TD></TR><Tr><th align=right BGCOLoR=#99CCFF ><font color=#0000cc>CAIDType </font></th><TD align=left><INPUT name="CAIDType" TYPE=TEXT MAXLENGTH=50 SIZE=25 VALUE=''></TD></TR><Tr><th align=right BGCOLoR=#99CCFF ><font color=#0000cc>RxCoverage </font></th><TD align=left><INPUT name="RxCoverage" TYPE=TEXT MAXLENGTH=50 SIZE=25 VALUE=''></TD></TR></tr></TABLE></table></CENTER><br><center><TABLE><TR><td><A HREF="/demo4x/Ex5.asp?aspDBBut_999=aspDBgoForm::0"><IMG border=0 VALIGN=middle SRC='../images/Cancel.gif'></td></A><td><INPUT TYPE=Submit NAME=aspDBEditBut_999 VALUE='DropDown ?'></td><td><INPUT TYPE=Submit NAME=aspDBEditBut_999 VALUE='Add New Record'></td><td><INPUT TYPE=Reset VALUE='Reset'></td></tr></table></center></FORM><A NAME=ASPDB_999> </A>
</BODY>
</HTML>