1. Attilio iLaga
  2. Valentina Reports ADK
  3. 火, 2月 14 2017, 01:44 PM
  4.  メールで購読
hello,
I need help in order to format monetary values ​​in the report according to the Italian standard (eg: #. ###, ##). I read in the documentation link of use patterns.
The problem is that using xojo web the "locale" server is set as the American format, then format the data for use by the application xojo.Core.Locale ( "it-IT";). There is also a similar command on valentine report? Is there a way to specify the locale format of reports directly from the application?
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Hi Attilio,

Version 7.0.3 is now available for download
コメント
There are no comments made yet.
Ruslan Zasukhin 承諾済みの回答
Hi,

I have update link in your post to wiki v7. It was to v5.

Guys say that we should add locale to report itself to resolve this.
We think this can be done in few days for 7.0.1
Please stand by, thank you for point.
コメント
There are no comments made yet.
Attilio iLaga 承諾済みの回答
Hi Ruslan,
Thank you for the reply.
I wait for the release of the new version and if you can the documentation update.
コメント
There are no comments made yet.
Attilio iLaga 承諾済みの回答
Hi Ruslan,

I saw that you have released version 7.0.1 contains the size_type field with option Relative To Region, but I have not figured out how to specificar and a different type of region. can you help me? Is there a way to Xojo when the report is generated to specify the type of format?

Also just installed a new version of the plugin is both the studio version, when I try to load the file .vsp from windows that Linux, the application crash.
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Hi Attilio,

1) Relative To Region option of size_type property will change the height of control accordingly to the change of region height.

For example.
Let we have:
- vertical line from top to the bottom of the body region, option Relative To Region is selected for this line.
- field with can_grow property enabled, so the height of the region is not fixed.

Region will be resized to fit the text of the field, and the line will be resized as well.

2) Valentina Studio crashes on project loading? Or Xojo application?
コメント
There are no comments made yet.
Attilio iLaga 承諾済みの回答
Hi Sergey,


1) I have I committed an error in reading the properties. I assumed to find the update required to format monetary values ​​of the properties. You know anything about this?

2) crash the Xojo application when it tries to load the file .vsp:


mProject = new VProject (f)
mProject.Open ()


Going back to the 6.6.8 version of the application works correctly.
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Hi Attilio,

1) Setting a locale is not done yet

2) I have to check it, could you please tell what OS is used?
コメント
There are no comments made yet.
Attilio iLaga 承諾済みの回答
Using Windows 10 in 64bit in debugging mode. On Ubuntu 14.04 64bit the compiled application does not crash suffered during the .vsp file load but when you try to generate the report.
コメント
There are no comments made yet.
Attilio iLaga 承諾済みの回答
Hi segey,

thank you for your availability and timely intervention.
I look forward to the changes in order to format the currencies.
Good job
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Hi Attilio,
Windows build was broken, new build is available for download.
I'm checking the build for Linux.
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Hi Attilio,

In the version 7.0.3 it will be possible to select the locale for project from the Valentina Studio.

Currently dialog is accessible from the following places:

  • Button on toolbar on the project tab
  • Item of the Project main menu item.


Current locale is shown on the button.
添付ファイル
コメント
There are no comments made yet.
Attilio iLaga 承諾済みの回答
Hi Sergey,

Thank you for your changes. It becomes available the download of the new version try the new feature.

good job
コメント
There are no comments made yet.
Attilio iLaga 承諾済みの回答
Hi Sergey,


I downloaded and installed the new version, but when I try to generate the report xojo web application crash(windows 10 64bit - debug 32bit).
The desktop application works properly.

Edit:
The same problem is repeated on ubuntu 64 bit and xojo web application 64bit.
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Hi Attilio,

Does it crash on VProject.MakeNewReport call?
コメント
There are no comments made yet.
Attilio iLaga 承諾済みの回答
Hi Sergey,

exactly, just crash at that point. Among other things it does not generate any exception in the try catch.


try
mReport = mProject.MakeNewReport(nameReport, ds_str , sql )

catch e as VException
MsgBox "Errore creazione Report: "+e.Message

end



I also tested the new release of mac osx 10.12.3. I think that's an internal problem in the reporting.
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
And the same report is generated successfully from the Valentina Studio?
And desktop application?

Crashlogs on OS X are very helpful, do you have one of them? Easy to find through Console.app.
コメント
There are no comments made yet.
Attilio iLaga 承諾済みの回答
yes, the same report is generated successfully from Valentina Studio and desktop application.


I am attaching the crash files hoping is the right one and that we can be of help.
添付ファイル
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Hi Attilio,

Could you please show how the nameReport, ds_str , sql values are constructed?
コメント
There are no comments made yet.
Attilio iLaga 承諾済みの回答
Hi Sergey,


Reading the crash report I realized the error. We must define the encoding of the strings otherwise valentine crashes.


ds_str = DefineEncoding(ds_str, Encodings.UTF8)
nomeReport = DefineEncoding(nomeReport, Encodings.UTF8)
sql = DefineEncoding(sql, Encodings.UTF8)



You can see why it does not generate any exception? It would be very useful to understand and immediately solve the problem. Thank you
コメント
There are no comments made yet.
Attilio iLaga 承諾済みの回答
If not specific encoding Debugging defines nil. Using DefineEncoding (ds_str, Encodings.UTF8) sect properly
添付ファイル
コメント
There are no comments made yet.
  • ページ :
  • 1
  • 2


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 0 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories
Omegabundle
  1. 0 subcategories