Posts Tagged ‘4.1’

Improvements for stored procedures and binded queries

It was a huge improvement to solve the problem with a “second run” in stored procedures and binded queries.  Sometimes there was an incorrect behavior because of “over-prepared” nodes. There was a workaround with “EXECUTE” statement (which is actually developed  to prepare any SQL statement and execute one from another SQL statement). So now this [...]

Read the rest of this entry »

Valentina for Ruby MAC Improved

We have improved Valentina for Ruby v4 on MAC.
Now we have single UB module vruby_fat_release.dylib instead of two _ppc_ and _i586_. This still perfectly works with Ruby.
The WIKI pages about MAC INSTALL are corrected and updated.
We corrected the Valentina.rb adapter to reflect changes in the SHOW commands in v4, which now produce cursor with columns [...]

Read the rest of this entry »

Valentina WIKI now have section “Video Tutorials”

Here we will grow set of vide tutorials

Read the rest of this entry »

Report Control Picture now have property to specify picture by URL/path.

As result you can show in a report not only picture from DB, but from disk or by any URL.

Read the rest of this entry »

MakeNewReport(index, db, query = NULL, …); Query now can be NULL on default.

MakeNewReport(
inIndex as integer,
inDatabase as VDatabase,
inQuery as String = NULL,
inCursorLocation as EVCursorLocation = kClientSide,
inLockType as EVLockType = kReadOnly,
inCursorDirection as EVCursorDirection = kForwardOnly ) as VReport
Starting from 4.1 parameter inQuery can be NULL. [...]

Read the rest of this entry »

“LIMIT N” now can be used in additional places.

Was found a problem that in a stored procedure the assignment statement do not accept SELECT with LIMIT. This problem is fixed now. So you can have
procname
BEGIN
var = SELECT f1 FROM T WHERE … LIMIT 1
END

Read the rest of this entry »

Hierarchical (Recursive) Queries in Valentina SQL

There are three new kind of queries specially designed  for recursive (hierarchical) tables.
Such kind of tables are widely used. It could be human relationships, threaded forums and anything which might be described as tree-like data.
There are few common SQL ways to operate with such structures but all of them are too far from perfect.
Valentina introduces [...]

Read the rest of this entry »

Using of “Instead-of” triggers

Such kind of trigger may be applied to views only. It could be used for insert, update and delete operations as usual.
Example:
CREATE TRIGGER trigger1
INSTEAD OF INSERT ON v1
FOR EACH ROW
BEGIN
INSERT INTO t2 VALUES( 1 );
END ;
“trigger1″ will be fired on attempt to insert record in the view “v1″.
Starting from v 4.1 you may use ‘NEW’ [...]

Read the rest of this entry »

Improved work with TIFF format for VPicture field.

On request of Marc Schmitt, Kirill have improve work with TIFF format.
1) V4MD 4.0 was the single ADK, which did not allow specify format of picture in the VPicture.WriteAs() method. This problem fixed and now its is possible specify format as #kJPG, #kTIFF
2) But Marc did want more: he want to have SEVERAL compression methods [...]

Read the rest of this entry »

Reports on linux now much faster (10+ times)!

Igor have made great job improving speed of reports generation on linux, which uses the FreeType library (instead of wxWidgets+OS like on WIN/MAC). As result, time of report of one developer go down from 3 second to 0.3.
Actually FreeType library can be used on MAC and WIN. Just no big sense because it was much [...]

Read the rest of this entry »