[V4RB-VServer] can't work with pictures
Ruslan Zasukhin
sunshine at public.kherson.ua
Thu Jun 9 18:50:40 CDT 2005
On 6/9/05 2:13 PM, "Eric Ferrer" <wonderfef at noos.fr> wrote:
Hi Eric,
> This is the first time I'm dealing with pictures and Valentina.
> I'm still using Valentina Server beta, because V2 is too buggy for
> now and I can't upgrade.
We will be thanks to you if you will point us bugs you meet.
> I need to store a picture in two different VPicture fields : the full
> picture itself and a thumb copy.
> When I call "cursor.AddRecord", I have a 1009 error.
> Moreover, in the ValentinaServer's log file I can read :
> CURSOR(0x12D6EC0): Field index is too large!
> ERROR #1009: Invalid identifier
>
> What's wrong?
>
> Here is how my blank database is made :
> if theDatabase.Create(f, 5, 32 * 1024) = false then
> Return false
> end if
>
> dim vbo as VBaseObject
> vbo = theDatabase.CreateBaseObject("Pictures")
>
> call vbo.CreateVarCharField("ID", 30, "", "")
> call vbo.CreatePictureField("Thumb", 2 * 1024)
> vbo.Field("pixThumb").Nullable = true
> call vbo.CreatePictureField("Picture", 2 * 1024)
> vbo.Field("pixPicture").Nullable = true
> call vbo.CreateVarCharField("Name", 256, "French", "")
> Return true
All looks correct.
Hard to say without project.
Eric, can you tell me what bugs really stop you from 2.0 ?
I do not see any reports from you in our bug tracker.
--
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