NULL Doesn't work with API way in revolution
Ruslan Zasukhin
ruslan at paradigmasoft.com
Thu Jul 23 13:49:44 CDT 2009
On 7/23/09 9:01 PM, "Antuan Johnson" <amjohnson09 at gmail.com> wrote:
Hi Antuan,
> Using a NULL value when updates or adding a record in revolution doesn't work
>
> put VDataBase_Table( mData, "TableA" ) into TableA
ok
> get VTable_SetBlank( TableA)
Ok, you have made record buffer of table A to be BLANK.
> put VTable_Field( TableA,"RecordA") into RecordA
You get REFERENCE to field with name "RecordA"
> get VField_Value( RecordA, NULL)
You try assign NULL value?
Or read ?
If assign -- then no need in this line,
SetBlank have set ALL fieds of table to NULL
> get VTable_AddRecord( TableA)
>
> Is there something I'm missing? Is there a special way to code NULL values in
> revolution?
Also check, if you have made field RecordA to be Nullable?
--
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