-
Custom Fields and dbbooltext problem/solution?
I've managed to get the custom field layout working with no problems, and I've managed to get the booleantext field option (to display an image instead of True/False) working in one of the standard listing tables.
However, I can't seem to combine the two...a custom field layout WITH the dbbooltext option pointing to an image. Is there a special setting I have to use?
Here's the source of the main db section of my code. Hints?
<%
Set MyDb = Server.CreateObject("AspDB.Pro" 'Insert the ASP-db component
MyDb.dbQuickProps="14;plants;Inventory;form;7, auto" 'Set it's std properties
MyDb.dbExportFlds = "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,1 8,19,20,21,22" 'Export them all!
MyDb.dbFormDisplayFlds = -1 'Hide all the fields from displaying
MyDb.dbBoolText="<CENTER><IMG SRC=images/checkbox.gif></CENTER>, "
'Point to the "images" directory
MyDb.dbStatusBar = false 'Turn off the status bar
MyDb.dbNavigationItem="prev,next" 'Only show these 2 buttons
MyDb.ASPdbPro 'Display it!
%>
--------------------------------------------------
As you can see I have borrowed heavily from code snippets supplied on all the example pages. These REALLY help!
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|