I knew someone would have a better idea :)
Cetin
>Cetin, Nancy,
>
>Remote views can have default values. In the center bottom of the Fields tab in the view designer, click the Properties button. Set things to zero and blank there.
>
>
>>Nancy,
>>Remote views uses ODBC and it doesn't allow empty dates AFAIK. After scatter memvar you could loop through fields and if type is date provide {^2000/12/1899}. And maybe revert at other site to empty dates ?
>>Hope someone else have a better idea and jumps in.
>>Cetin
>>
>>>Thanks, Cetin. This seems to have cleared up the problem for all field types except date fields. Any ideas on how to force date fields to blank, not NULL?
>>>
>>>Again, thanks for your help.
>>>
>>>Nancy
>>>
>>>>>Hello,
>>>>>
>>>>>I'm working on a VFP 6 application that must reference .dbf files which are still used by a Fox 2.6 application. The VFP application must also be used across a T1 so I am using remote views to keep performance at an acceptable level.
>>>>>
>>>>>My problem is that VFP returns a "NULL not allowed" error on Tableupdate(). Should I be initializing every field to blank when I append a record (or check each field for NULL if editing) before issuing Tableupdate()?
>>>>>
>>>>>Any help or comments will be appreciated!
>>>>>
>>>>>Nancy Price
>>>>
>>>>Nancy,
>>>>You could initialize all blank :
>>>>select myView
>>>>scatter memvar memo blank
>>>>insert into myView from memvar
>>>>Cetin