Water Level for BH sticks out of the monitoring record table.

Hi

I am writing an IF statement to extract  max and min of the water depth from the monitoring record table.The monitoring table have some other gas monitoring related data however I am interested in filtering it by WDEP (water related monitoring) type record.  I have written following line in the "depth expression" of discrete graphics Vs depth item.

<<IIf(_
  (<<MOND.MOND_TYPE>>= "WDEP"),<<Min(<<MOND.MOND_RDNG>>)>>_
  )>>

I have similar expression for maximum water in another discrete graphics Vs depth item.

Please can you guide me what is problem with above statement or this is not correct way to achieve my objective?

Thanks

Parents Reply
  • Can you please see if following sql statement is correct :

    For top of response zone in "vertical line to depth " :

    <<Sql(_
      SELECT [MONG].[MONG_TRZ] _
      From [MONG] _
      Where [MONG].[PointID] = '<<PointID>>' _
      AND ( [MONG].[PIPE_REF] = "01" _
      OR   [MONG].[PIPE_REF] = "MP1" _
      OR   [MONG].[PIPE_REF] = "Pipe 1" _
      OR   [MONG].[PIPE_REF] = "" _
      OR   [MONG].[PIPE_REF] = "-" ) _
      )>>

    and for bottom of the response zone is just replacing TRZ with BRZ.

    When I run above statement in fence output diagram my line goes from top to bottom !

    Thanks,

    Jav

Children