Forum Post: RE: Initilaize Smart Data Browser with no data

  • Thread starter Thread starter PeterWokke
  • Start date Start date
Status
Not open for further replies.
P

PeterWokke

Guest
When you set the filter on the SDO in a setFilter procedure like this /* release the previous set filter */ DYNAMIC-FUNCTION('setQueryWhere':U IN h_di_cropyear-availability,'':U). /* add filter settings */ DYNAMIC-FUNCTION('addQueryWhere':U IN h_di_cropyear-availability, 'cropyear.artnr = ':U + string(m_iArtnr), 'cropyear':U, 'and':U). DYNAMIC-FUNCTION('addQueryWhere':U IN h_di_cropyear-availability, 'cropyear.received = false':U, 'cropyear':U, 'and':U). DYNAMIC-FUNCTION('addQueryWhere':U IN h_di_cropyear-availability, 'crop.iscuscon = false':U, 'crop':U, 'and':U). /* get data */ DYNAMIC-FUNCTION('openQuery':U IN h_di_cropyear-availability). The filters can be set on if statement that when the user has selected on that field. The function openQuery will show the data.

Continue reading...
 
Status
Not open for further replies.
Back
Top