Hi Ignacio,
Attached a small example with ACCESS Database
As you can seen after the aDataGotop() the record is eof
About you said :
Since i create a dataset with ADO Query command how can i force that Method
?
I Compile the same project in XAiler 1.99 whitout changing nothing and
works ok.
Best Regards
Pedro
"Ignacio Ortiz de Zúñiga" <
NoNameToAvoidSpam@xailer.com> escreveu na
mensagem news:4b84d99c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Pedro,
>
> Try to reproduce it with ADO+Access or send us a really little sample
> (avoid copy & paste) with ADO+MSSQL (including the table in access format
> and its DDL in MSSQL)
>
> BTW, I hope you did check as I told you the property TDataset:nCursorType
> and nCursorLocation, since a value of 0 on the method Recno() is typical
> of empty datasets OR limited datasets like a 'Forward Only' cursor.
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> [Equipo de Xailer/Xailer team]
>
http://www.xailer.com
>
http://www.xailer.info
>
> "Pedro Faro" <
psfaro@shi.pt> escribió en el mensaje de
> noticias:[email=4b83d427@svctag-j7w3v3j....]4b83d427@svctag-j7w3v3j....[/email]
>> Hi Ignacio,
>>
>>
>> It's too dificult to reproduce this situation , since we only work with
>> ADO /MSSQL.
>>
>> All data is extracted with TADO/Query , is this case the dataset is
>> created via "query command". This dataset has problems with CodeBlocks
>> like
>>
>> do while !Eval({||::aData:Eof})
>> Eval({||::aData:skip()})
>> enddo
>>
>> I Assure you , that in Xailer 1.99 all works perfect and we only
>> recompile the aplication with Xailer 2.
>>
>> Any change was made to Tado:Query ??
>>
>> Regards
>> Pedro
>>
>>
>>
>>
>> "Ignacio Ortiz de Zúñiga" <
NoNameToAvoidSpam@xailer.com> escreveu na
>> mensagem news:4b826130$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>>> Pedro,
>>>
>>> Please send a really small sample with no third party dependencies.
>>> Send only the project files with the menu option Project->Export. TIA.
>>>
>>> Regards,
>>>
>>> --
>>> Ignacio Ortiz de Zúñiga
>>> [Equipo de Xailer/Xailer team]
>>>
http://www.xailer.com
>>>
http://www.xailer.info
>>>
>>> "Pedro Faro" <
psfaro@shi.pt> escribió en el mensaje de
>>> noticias:4b7c1819$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>>>> Hi Ignacio,
>>>>
>>>> Here is a sample ...
>>>>
>>>>
http://www.projectosweb.net/Test_Xailer2.zip
>>>>
>>>> Regards
>>>>
>>>> Pedro
>>>>
>>>>
>>>>
>>>> "Ignacio Ortiz de Zúñiga" <
NoNameToAvoidSpam@xailer.com> escreveu na
>>>> mensagem news:[email=4b7c086b@svctag-j7w3v3j....]4b7c086b@svctag-j7w3v3j....[/email]
>>>>> Pedro,
>>>>>
>>>>> Please send a sample. TIA.
>>>>>
>>>>> Regards,
>>>>>
>>>>> --
>>>>> Ignacio Ortiz de Zúñiga
>>>>> [Equipo de Xailer/Xailer team]
>>>>>
http://www.xailer.com
>>>>>
http://www.xailer.info
>>>>>
>>>>> "Pedro Faro" <
psfaro@shi.pt> escribió en el mensaje de
>>>>> noticias:[email=4b7c0347@svctag-j7w3v3j....]4b7c0347@svctag-j7w3v3j....[/email]
>>>>>> Hi,
>>>>>>
>>>>>> This is not working in xailer 2
>>>>>>
>>>>>> After open a Dataset...
>>>>>>
>>>>>> msginfo(::aData:recno()) //1
>>>>>>
>>>>>> do while !Eval({||::aData:Eof})
>>>>>> Eval({||::aData:skip()})
>>>>>> enddo
>>>>>>
>>>>>> Eval({||::aData:Gotop()})
>>>>>>
>>>>>> msginfo(::aData:recno()) // returns 0 but must return 1
>>>>>>
>>>>>> Works ok in Xailer 1.99
>>>>>>
>>>>>> Best regards
>>>>>> Pedro faro
>>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
>
--
Attached files teste.zip (13.7 KB)Â