Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Server - String data, right truncation error?
Message
De
03/05/2005 09:53:48
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
SQL Server - String data, right truncation error?
Versions des environnements
Database:
MS SQL Server
Divers
Thread ID:
01010449
Message ID:
01010449
Vues:
75
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
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform