[Gambas-user] Problem with CsvFile.Fields.Count
Safiur Rahman
isafiur at gmail.com
Sat Jul 16 16:41:55 CEST 2022
Hi
Thanks Charlie for your solution. After hForm.Read() provides me with a
Columns list but also it takes to the first row of the dataset. So I have
to close csv and again I have to Open csv and go to one by one row to fetch
data.
On Fri, Jul 15, 2022 at 7:30 PM Safiur Rahman <isafiur at gmail.com> wrote:
> Sorry
> ValueBox1.Value = hForm.Fields.Count
>
>
>
> On Fri, Jul 15, 2022 at 7:27 PM Safiur Rahman <isafiur at gmail.com> wrote:
>
>> Hi
>>
>> I have one simple csv. When I run this
>>
>> Dim hForm As CsvFile
>> hForm = New CsvFile("csv/8.tmp.csv", ";")
>> ValueBox1 = hForm.Fields.Count
>>
>> I get the error "Null Value". Previously it worked. Is there any change?
>> I am using gambas 3.17.2 on Ubuntu 20.04
>>
>> Attached a project
>>
>> --
>> Regards
>> Safiur Rahman
>>
>
>
> --
> Regards
> Safiur Rahman
>
--
Regards
Safiur Rahman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220716/a4e1e05e/attachment.htm>
More information about the User
mailing list