Yeah, very glad to hear!
Chris
Some warnings and error
Some warnings and error
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Some warnings and error
Hallo
Yeah its runing but it shoud not
oLogFile := LogFile { IDC_FileLog }
oLogFile:dumpError (cMessage)
I found this code inside, but the class Logfile is nowhere in my files. Its in a VO Libary. Why the compiler doesn't complain ? No error and no warnings.
Horst
Yeah its runing but it shoud not
oLogFile := LogFile { IDC_FileLog }
oLogFile:dumpError (cMessage)
I found this code inside, but the class Logfile is nowhere in my files. Its in a VO Libary. Why the compiler doesn't complain ? No error and no warnings.
Horst
Some warnings and error
Hi Horst,
why it should complain? This class is defined in the VO libraries, and therefore it should also be in the Vulcan Internet Classes.
Wolfgang
why it should complain? This class is defined in the VO libraries, and therefore it should also be in the Vulcan Internet Classes.
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Some warnings and error
Hi
I open a DBF but i cant SEEK. Is there a different from Vulcan to VO ? The Index looks not be open.
SELF:odbUserOnline:= dbServer {myWorkDir ()+IDC_PathDbfSys+"UserOnline.dbf",TRUE,FALSE,"DBFCDX"}
SELF:odbUserOnline:createorder ("Username",,"Upper (Username)" ,{|| Upper (_field->Username)},.f.)
the order will be created and when i open it with dbalite its looks ok
SELF:odbUserOnline:SetOrder (1)
// Test
self:odbUserOnline:GoTop()
do while ! self:odbUserOnline:EoF
myerr (self:odbUserOnline:fieldget (#Username))
self:odbUserOnline:Skip()
enddo
but this test writes the names unsorted and a seek is not working
Horst
I open a DBF but i cant SEEK. Is there a different from Vulcan to VO ? The Index looks not be open.
SELF:odbUserOnline:= dbServer {myWorkDir ()+IDC_PathDbfSys+"UserOnline.dbf",TRUE,FALSE,"DBFCDX"}
SELF:odbUserOnline:createorder ("Username",,"Upper (Username)" ,{|| Upper (_field->Username)},.f.)
the order will be created and when i open it with dbalite its looks ok
SELF:odbUserOnline:SetOrder (1)
// Test
self:odbUserOnline:GoTop()
do while ! self:odbUserOnline:EoF
myerr (self:odbUserOnline:fieldget (#Username))
self:odbUserOnline:Skip()
enddo
but this test writes the names unsorted and a seek is not working
Horst
Some warnings and error
Horst,
what ist the return of SELF:odbUserOnline:SetOrder (1) ?
K.
what ist the return of SELF:odbUserOnline:SetOrder (1) ?
K.
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Some warnings and error
Hi Karl
its false
its a IIS thing i think, because when i make a normal test applikation the index works fine.
if i cant fix that , i have to stop with x# and goining back to VO
its false
its a IIS thing i think, because when i make a normal test applikation the index works fine.
if i cant fix that , i have to stop with x# and goining back to VO
Some warnings and error
Hmm, have no experience with IIS, but if your are right and it is "its" problem, why should Vo work and X# not? At least, i'd expect X# not to work at all...
K.
K.
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
-
- Posts: 774
- Joined: Wed May 17, 2017 8:50 am
- Location: Germany
Some warnings and error
Hi Horst,
seems, though your cdx filename is "UserOnline.cdx" the file isn´t opened automatically. What is your rddinfo ( _SET_AUTOOPEN) setting ?
[...]
_SET_AUTOOPEN
Returns and optionally changes the logical flag that determines whether the RDD will
open production indexes automatically when a database file is opened. A TRUE setting indicates that the production index is opened automatically.
[...]
if the flag isn´t set to true you must open the cdx manually:
oDb:Setindex( <cdxFile> )
oDB:SetOrder ( 1 )
BTW. Whereby i prefer to set the order by name and not by number.
regards
Karl-Heinz
seems, though your cdx filename is "UserOnline.cdx" the file isn´t opened automatically. What is your rddinfo ( _SET_AUTOOPEN) setting ?
[...]
_SET_AUTOOPEN
Returns and optionally changes the logical flag that determines whether the RDD will
open production indexes automatically when a database file is opened. A TRUE setting indicates that the production index is opened automatically.
[...]
if the flag isn´t set to true you must open the cdx manually:
oDb:Setindex( <cdxFile> )
oDB:SetOrder ( 1 )
BTW. Whereby i prefer to set the order by name and not by number.
regards
Karl-Heinz
Some warnings and error
Hallo Karl's
I tried to open the index with
if SELF:odbUserOnline:SetIndex (myWorkDir ()+ IDC_PathDbfSys + "UserOnline.cdx")
its also false
i tried also open the DB with DBUseArea (without DBServer) , still no index.
Horst
I tried to open the index with
if SELF:odbUserOnline:SetIndex (myWorkDir ()+ IDC_PathDbfSys + "UserOnline.cdx")
its also false
i tried also open the DB with DBUseArea (without DBServer) , still no index.
Horst