[V4RB] Saving GetSaveInfo

Frank Schima frank-list3 at mindstarprods.com
Tue Dec 14 20:23:20 CST 2004


Hi Jon and Ruslan,


I got it working. It turned out to be a corrupted database problem 
caused by me mixing BaseObject and Cursor methods!


Best regards,
Frank Schima

On Dec 14, 2004, at 8:34 AM, Frank Schima wrote:

>
> On Dec 14, 2004, at 6:01 AM, jda wrote:
>
>>>
>>> I tried using a BLOB with the API and it still won't save. I receive 
>>> no error, but the data does not get stored in the field. I used 
>>> WriteRawData.
>>>
>>> i.e.
>>> myDatabase.myTable.BLOBField("MyBlob").WriteRawData 
>>> sGetSaveInfoString
>>> myDatabase.myTable.Update
>>>
>>
>> Here's mine (V2):
>>
>>         myCursor.BlobField(fieldName).WriteRawData(propertyValue)
>>         myCursor.updateRecord
>>
>> Here's what I use in V1:
>>
>>        prefsDB.prefs.Field(fldToUpdate).SetString(updateInfo) 
>> //updateInfo is a variant
>>        prefsDB.prefs.updateRecord
>>
>> I've never used table.update -- perhaps db. or myCursor.updateRecord 
>> is what you need?
>
> Thanks for the code samples!
>
> I did use UpdateRecord actually. I was just writing psuedo-code off 
> the top of my head showing the method I was using.
>
> I'll try your ways now.
>
>
> Best regards,
> Frank Schima
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>



More information about the Valentina mailing list