Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VARCHAR(MAX) not allowed for VFP Memo in Remote View?
Message
De
27/07/2007 15:43:54
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01244101
Message ID:
01244241
Vues:
24
Thanks, Sergey

I rely on the VFP View designer so little. As you say, third party tools like Rick Schummer's View Editor Professional ( white light Computing ) or Dan Goodwin's VFEGenview ( which integrates into VFE like it's part of the framework ) have become standard for me. But I had forgotten you could change the data type within the view designer in View Code and that does the trick. Good one to remember as we move to SQL 2005 and take advantage of the new data types.

Thanks again


>Hi Charles,
>
>Looks like View Designer incorrecly sets DataType propery of the view field mapped to SQL varchar(max) as V(0). You can open View SQL window and change it to 'M'. You can also try third party view designers (free or commercial).
>
>>I am getting problem validating views against SQL2005 databases with VARCHAR(MAX) fields. I'm really very surprised that vfp9 wouldn't recognize varchar(max) and even more surprised I've never noticed this behavior before. I'm allow that I may be doing something else stupid but I tried a very simple test
>>
>>create sql table - pk, cfield1 (char(10), mnotes (varchar(max), timestamp (timestamp)
>>
>>create a remote view update keyfield and timestamp.
>>
>>Boom!
>>
>>Is this known behavior and is there a workaround ( besides changing all my varchar(max) fields to text? )
>>
>>TIA


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform