[Gambas-user] Update DataView??
acidblue
sunblaster5 at ...626...
Tue Aug 14 22:51:16 CEST 2012
"Unknown Symbol DataView1 in class FMain"
Is the error I'm getting.
Sorry for the late reply.
Code:
Try rTable.Update
If Error Then
Print "Update failed"
Message.Error(ERROR.Text)
Else
FMain.DataView1.Update
Message.Info("Update was successful")
Endif
Fabien Bodard-4 wrote:
>
> 2012/8/10 rocko <sunblaster5 at ...626...>
>
>> Is it possible to update a dataview in realtime?
>> I Have an SQlite database that i acces with a dataSource
>> and dataview.
>> I have a form that enables users to add records to the database,
>> But the dataview doesn't update untill i re-run the program.
>>
>> I would like to have the dataview update when it adds a record.
>> Iv'e tried this:
>> DataView1.Update but that gives an error.
>> Do I have to update the DataSource first??
>>
>
> normally it will be update...
>
> what error do you have ?
>
>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>
>
>
> --
> Fabien Bodard
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
--
View this message in context: http://old.nabble.com/Update-DataView---tp34282921p34298922.html
Sent from the gambas-user mailing list archive at Nabble.com.
More information about the User
mailing list