Kaydet (Commit) 585d4311 authored tarafından Jean-Pierre Ledure's avatar Jean-Pierre Ledure

Access2Base - Nicer representation of booleans in OutputTo action

Replacement of True/False output characters
Addition of "false" class
üst 413c7b42
......@@ -1344,7 +1344,7 @@ REM ----------------------------------------------------------------------------
Private Function _OutputBooleanToHTML(ByVal pbBool As Boolean) As String
' Converts input boolean value to HTML compatible string
_OutputBooleanToHTML = Iif(pbBool, "☑", "☒")
_OutputBooleanToHTML = Iif(pbBool, "✔", "✖") ' ✔ and ✖
End Function ' _OutputBooleanToHTML V1.4.0
......@@ -1454,6 +1454,7 @@ Const cstMaxRows = 200
Print #piFile, " <td" & _OutputClassToHTML(vTdClass) & ">" & _OutputNumberToHTML(vDataCell) & "</td>"
Case vbBoolean
vTdClass() = _AddArray(vTdClass, "bool")
If vDataCell = False Then vTdClass() = _AddArray(vTdClass, "false")
Print #piFile, " <td" & _OutputClassToHTML(vTdClass) & ">" & _OutputBooleanToHTML(vDataCell) & "</td>"
Case vbDate
vTdClass() = _AddArray(vTdClass, "date")
......
......@@ -8,7 +8,7 @@ REM ============================================================================
Option Explicit
REM Access2Base -----------------------------------------------------
Global Const Access2Base_Version = "1.8.0"
Global Const Access2Base_Version = "1.9.0"
REM AcCloseSave
REM -----------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment