Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Null date to empty(and back again)
Message
De
26/08/2009 18:57:20
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01420493
Message ID:
01421064
Vues:
29
>> Is there a fast and easy way to convert to blank VFP dates when using the view, and saving to the backend as null or whatever?
>
>Without cursor adapters, no. If you use views, you can't even manipulate the result set, because that would be seen as a data change that needs to be updated. The easiest approach with a view would probably be to use a different cursor for the user interface. Copy data from the view into a temporary cursor. When the user changes data, put them back into the view.
>
>It's easier with SPT, though. As you need to generate the INSERT and UPDATE statements yourself, you could perform any data conversion you need.
>
>> *if* I can get things to behave.
>
>What are the exact problems that you are encountering?

Mostly the ones you just listed. <g> I was hoping there was a simple and quick solution, but it seems like it will take extra work/time I don't have. Same goes for why I can't use cursoradaptors at this point.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform