Oh yes, but can I do an 'IF Then" that that limits the fields returned from the database?
If (daysLeft < 21) Then sResult!DaysLeft = DataView1.Columns1.Daysleft And so on...... On 09/29/2012 03:47 AM, Benoît Minisini wrote: > Le 29/09/2012 05:11, rocko a écrit : >> Ok that makes a little more sense. >> But I have some questions. >> >> Do I have to use a TableView? >> Originally I used DataView but that displays all >> the fields in the database, I just want to use some >> of the fields if certain conditions apply, like >> if the 'Days Left' field is less than 20 days. >> > > DataView has a "Columns" property that can be used to choose which > fields are displayed. > > Regards, > ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user