Not sure about a setting, perhaps someone else is.But if not, you might consider a "default" image that is a simple white or transparent square. Then predefine all 4 variables to "Default.jpg" (or what ever).Then if you do not assign an actual image, the default will always display. No real code changes other than the variable filename predefault.This would also allow you to display a default image for information or some other nice option.However if you are wanting to collapse the print space when both image 3 & 4 are null, this would not help.And as you stated, the make invisible code would work as well.Robert ThompsonTTC Inc.219-363-7441 -------- Original message --------From: 'Karen Tellef' via RBASE-L <[email protected]> Date: 11/10/22 1:53 PM (GMT-05:00) To: [email protected] Subject: [RBASE-L] - A "null" variable image
Hopefully I can explain this. I have attached a print-screen because my embedded images don't show in the list emails. Each part we print on this report can have unlimited (or no) photos saved on disk. We will print no more than 4 on the page, so I am pulling 4 random photos into my text variables (vfilename1, 2, 3, 4), and Variable Images are located. Works great except when I have null variables. As shown on the attached, vFilename1 and vFilename2 have values and print the photos just fine. But variables vFilename3 and vFilename4 are NULL (as shown below, my null setting is actually ' ' when printing but I changed to -0- to show you the list). The null ones have that weird white/red thing. I'm wondering if I am missing a setting for these. I know I can write code to make controls invisible, but I was hoping I'm missing something simple. Any clues for me? Karen Variable = Value Type ------------------------------ ------------------------------ ------- vFilename1 = F:\Quality\123773-A.jpg TEXT vFilename2 = F:\Quality\123773-B.jpg TEXT vFilename3 = -0- TEXT vFilename4 = -0- TEXT -- For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/1588128635.1982897.1668106391324%40mail.yahoo.com. -- For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/636d510f.810a0220.9f9d.04b8SMTPIN_ADDED_BROKEN%40gmr-mx.google.com.

