Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Server - String data, right truncation error?
Message
 
 
To
03/05/2005 09:53:48
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Database:
MS SQL Server
Miscellaneous
Thread ID:
01010449
Message ID:
01010458
Views:
34
Why do you think that error is generated for the datetime field not some other field? How do you send updates, RV, SPT? You can use SQL Server profiler to see what was sent from VFP to SQ Server.

>Textbox valid:
>
>
>If Not Isnull(This.Value) And This.Value <= Date()
>   If Empty(Dtos(This.Value))
>	Update CarsMemo SET Initials = Thisform.cUser
>	This.Value = NULL
>	DoDefault()
>   Else
>	Return 0
>   Endif
>Else
>   Update CarsMemo SET Initials = Thisform.cUser
>   DoDefault()
>Endif
>
>
>When saving I get the String data, right truncation error from the server.
>
>So, why can't I set a datefield to null?
>
>TIA
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform