CRASH with V4RB 4.9.1, local, mac and windows

Ivan Smahin ivan_smahin at paradigmasoft.com
Thu May 24 09:22:18 CDT 2012


On May 24, 2012, at 5:14 PM, Christian - ChrisKatDev.com wrote:

> Ivan,, Ruslan,
> 
> this is the code for the corrupted field
> do you see a problem or other ?
> I have two custumers with the problem on same field (one on mac, one on pc)
> 
>         Dim ch As VText
>         ch = tTable.CreateTextField ("ContentText", 2048, EVFlag.fNullable + EVFlag.fCompressed)
>         ch.CollationAttribute (EVColAttribute.kStrength) = EVColAttributeValue.kTertiary
>    	tTable.flush
>     	pDB.flush

tTable.Flush is really redundant since you do db.flush a moment later.

>     	tTable.setBlank
> 


This call is about to "blank" all the fields in the table. That means every field is assigned with either default value (if defined), sql-null value (if nullable field) or zero/empty value. Usually you do something like this one:

tbl.SetBlank

f1.Value = 10
f2.Value = 'some string'
...

tbl.AddRecord


SetBlank without following AddRecord is ridiculous call.
Can you send all the code?
 
-- 
Best regards,
Ivan Smahin
Senior Software Engineer
Paradigma Software, Inc
Valentina - The Ultra-Fast Database
http://www.valentina-db.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macserve.net/pipermail/valentina/attachments/20120524/eb43ad4b/attachment.html>


More information about the Valentina mailing list