Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Null date to empty(and back again)
Message
From
26/08/2009 18:57:20
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01420493
Message ID:
01421064
Views:
30
>> 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.
Previous
Reply
Map
View

Click here to load this message in the networking platform