[Gambas-user] Display only some fields in data View

rocko sunblaster5 at ...626...
Tue Sep 4 20:46:54 CEST 2012


I have a table with several fields but I only want certain fields
to be displayed in a dataviewer.
Not sure on how to do this.
So far i only have this, which isn't much.

 Dim sView As Result
 Dim ID As Integer
 
 sView = DB.Find("inventory ", id &1, ID)
 For Each sView
   If sView!daysLeft < 22
   'put the name and days left in the name and daysleft field of the
dataview
 Next

-- 
rocko <sunblaster5 at ...626...>





More information about the User mailing list