Search found 2313 matches

by robert
Sat May 11, 2024 6:54 am
Forum: Product
Topic: two childish questions about using the VS IDE
Replies: 3
Views: 148

Re: two childish questions about using the VS IDE

Xinje 1) Tools Options, Search for X#. On the options page under Text Editor you can enable the line separators and also choose if single line entities (fields, properties etc) should have a line 2) The # of types in .Net is so big that bringing up that list proved to be a little slow. We will bring...
by robert
Mon May 06, 2024 4:07 pm
Forum: 3rd party products
Topic: Function AdoDateTimeAsDate()
Replies: 1
Views: 145

Re: Function AdoDateTimeAsDate()

Kees,
The conversion is automatic :

Code: Select all

local oDt as DateTime
local dToday as DATE
oDt := DateTime.Now
dToday := oDt // implicit conversion
Robert
by robert
Mon Apr 29, 2024 7:56 am
Forum: Product
Topic: easy calculation goes wrong
Replies: 5
Views: 356

Re: easy calculation goes wrong

Guys,
This problem is caused by the fact that certain floating point numbers cannot exactly be represented.
If you want 100% accuracy you should either calculate with integers (in cents) or with the Decimal type.

Robert
by robert
Fri Apr 26, 2024 2:05 pm
Forum: Xbase++
Topic: Xbase++ forum
Replies: 24
Views: 7328

Re: Xbase++ forum

Den,
The Asc() function translates the characters from unicode to ansi at runtime.
What is the value of
RuntimeState.DosCodePage
RuntimeState.WinCodePage

Robert
by robert
Fri Apr 26, 2024 10:33 am
Forum: Xbase++
Topic: Xbase++ forum
Replies: 24
Views: 7328

Re: Xbase++ forum

Guys, The problem is different from what you would expect: there is a SetCollation() function in both XSharp.Core and XSharp.XPP I am not sure why we did this, but SetCollation() inside XSharp.XPP expects a numeric parameter from Collat.ch This activates one of the Xbase++ collation tables. In this ...
by robert
Fri Apr 26, 2024 7:48 am
Forum: Xbase++
Topic: Xbase++ forum
Replies: 24
Views: 7328

Re: Xbase++ forum

Den,
The sort order is controlled by the russian collation. I would have to check what the contents of that collation is.
We extracted that sort order from the clipper / vo collation table

Robert
by robert
Fri Apr 26, 2024 7:43 am
Forum: 3rd party products
Topic: ReportPro 2.40 for X#: empty report while showing correct in VO ReportPro 2.31
Replies: 10
Views: 415

Re: ReportPro 2.40 for X#: empty report while showing correct in VO ReportPro 2.31

I was wondering if I should change the RDD system to allow for bigger files.
These numbers have convinced me that I should do that.

Robert
by robert
Thu Apr 25, 2024 9:58 am
Forum: Product
Topic: X# 2.18 EnableCellDraw FIELDSPEC:VAL error
Replies: 5
Views: 270

Re: X# 2.18 EnableCellDraw FIELDSPEC:VAL error

For others reading this: this fix is already included in 2.19.

Robert
by robert
Thu Apr 25, 2024 9:52 am
Forum: 3rd party products
Topic: ReportPro 2.40 for X#: empty report while showing correct in VO ReportPro 2.31
Replies: 10
Views: 415

Re: ReportPro 2.40 for X#: empty report while showing correct in VO ReportPro 2.31

Dick, I have analyzed the DBF file and found the problem: The RDD has a problem in the calculation of the # of records in the file (during the opening of the DBF), which causes an exception during the opening of the file. I'll send you an updated DLL by mail. This error by the way, only occurs with ...
by robert
Tue Apr 23, 2024 5:09 pm
Forum: 3rd party products
Topic: ReportPro 2.40 for X#: empty report while showing correct in VO ReportPro 2.31
Replies: 10
Views: 415

Re: ReportPro 2.40 for X#: empty report while showing correct in VO ReportPro 2.31

Dick,
Please use Wetransfer or something like that and send us the link to the actual data that shows the problem.

Robert