Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remote view, NULL and Fox 2.x tables
Message
De
12/12/2000 12:48:45
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
À
12/12/2000 09:37:32
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00452125
Message ID:
00452341
Vues:
18
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform