iif(field1='0', blankBox, checkedBox)Before running the report, assign the images to blankBox and checkedBox variables, for example:
blankBox = "c:\data\images\blankBox.jpg" checkedBox = "c:\data\images\checkBox.jpg" report form .... && run your reportYou can assign the two variables in the command window while designing the report, so you can preview the design.
select *, iif(field1='0', "c:\data\images\blankBox.jpg", "c:\data\images\checkBox.jpg") as checkBox ; from table1 ... ; && where clause, etc... into cursor reportCursorIf you go this route, you only have to put "checkBox" (without the quote marks) in the "Picture from file" dialog in the report designer. Also, if you go this route, you will probably need the file names to be the same length in the SELECT statement, or one of them may get truncated in certain situations. You can make them the same length by padding the right side of the shorter file name with spaces.