1. Alexander Strelkov
  2. PowerBuilder
  3. Monday, 16 April 2018 08:36 AM UTC

Hi,

We wide use Bitmap() dw function in the computed fields of our data-driven DWs. The display images can be stored as external files or as internal resources in PBD(s). In special case I want to display a specific image if the given source file is not accessible. For the external files I can check it with FileExists() global function. But how can I check such a case if it is not a valid resource was specified for the function?

Thanks in advance

P.S.:

PB 11.5

Roland Smith Accepted Answer Pending Moderation
  1. Monday, 16 April 2018 13:05 PM UTC
  2. PowerBuilder
  3. # 1

If you call a global function from the bitmap function you can do more complex calculations including fileexist. Just don't try inline SQL.

Like this:

bitmap(f_determinebitmap)

 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.