GetField returns different value from GetRecordAsPropList

Pierre Rossel prossel2 at myrealbox.com
Fri Jun 23 00:41:57 CDT 2006


Hello,

Another strange behavior (V4MD 1.11, Win).

This code is ran on a record with a NULL value in mediaData field:

  curItem = MyQuery("SELECT * FROM MediaItem WHERE RecID=" & p_iMediaItemId)
  p_lstData = curItem.GetRecordAsPropList()

  put p_lstData[#mediaData]
-- <Null>
  put curItem.GetField("mediaData")
-- ""

Why is GetRecordAsPropList() returning (this still strange value)
<Null> while GetField returns an empty string ?

Pierre Rossel


More information about the Valentina mailing list