[Gambas-user] TableView Data from database

rocko sunblaster5 at ...626...
Mon Oct 1 04:20:03 CEST 2012


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,
> 




More information about the User mailing list