Void on mac, empty string on win
Ruslan Zasukhin
sunshine at public.kherson.ua
Thu Jun 22 23:35:36 CDT 2006
On 6/22/06 11:05 PM, "Pierre Rossel" <prossel2 at myrealbox.com> wrote:
> Using V4MD 1.11 on XP and OS X. I use the following code to add a record,
> with #mediaData: "" to avoid null value in a #Text field (not nullable,
> indexed by words, ASCII, segment 128).
>
> curMediaItems = db.Query("SELECT RecID, * FROM MediaItem WHERE RecID=0",
> [#LockType: #ReadWrite, #Direction: #Random])
> bRet = curMediaItems.AddRecord([#MediaFolderPtr: iMediaFolderId, #name:
> sName, #mediaType: 1, #mediaData: "", #comments: ""])
Btw,
Are you sure you use 1.11 ?
Db.SqlQuery() method is in 2.x
V4MD 1.x did have new Vcursor( "SELECT ..." ) syntax.
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina
mailing list