Hi
I have a text comments field in my sqLite database tables. The contents of the field are optional and so the fields are NULL unless they have at least a string of zero length in them i.e. ""
If you wish to use the search feature of b4xTables and you make the comments field searchable and high-lightable if records have a null in at least one of the searched fields nulls the program crashes in the b4xtable module in the setTextToCell function.
Could someone modify the code so that nulls are ignored by the search engine. The B4xTable displays the word "null" for empty items. This is very useful for displaying fields that optional.
Of course it is possible to replace the "null" entry with characters such as white space " ", or "empty" etc, but then the search engine may include these. Much better and faster if it just skips the entry and excludes it.
Best regards
Rob
I have a text comments field in my sqLite database tables. The contents of the field are optional and so the fields are NULL unless they have at least a string of zero length in them i.e. ""
If you wish to use the search feature of b4xTables and you make the comments field searchable and high-lightable if records have a null in at least one of the searched fields nulls the program crashes in the b4xtable module in the setTextToCell function.
Could someone modify the code so that nulls are ignored by the search engine. The B4xTable displays the word "null" for empty items. This is very useful for displaying fields that optional.
Of course it is possible to replace the "null" entry with characters such as white space " ", or "empty" etc, but then the search engine may include these. Much better and faster if it just skips the entry and excludes it.
Best regards
Rob