7 Replies Latest reply: Apr 9, 2010 1:51 PM by Anatoly Pyatygo RSS

    PEEK does not work on inline table ?

    jangroen

      Hi,

      In the example below, the variable vSPOTReloadDate remains empty after the PEEK statement. When I try the PEEK function with a 'normally' loaded table, it works just fine. The SPOTProperties table get loaded fine.

      I can't find this limitation in the docs. Is this by design or am I missing something here ?

      Any help would be greatly appreciated.

      Jan

      LET vSPOTDate = MakeDate(2010,4,9);
      LET vSPOTTime = MakeTime(12,23,56);

      SPOTProperties:
      LOAD * INLINE
      [PropertyID, PropertyName, PropertyValue
      0,SPOTReloadDate,$(vSPOTDate)
      1,SPOTReloadTime,$(vSPOTTime)];

      LET vSPOTReloadDate = Peek('PropertyValue', 0, 'SPOTProperties');