>>Hi.
>>
>>I test my program in other computer and I saw, that in the textbox data are diferents.
>>in my computer NT4, ant VFP 6.0 in another W2k and VFP 6.0.
>>example->
>>the textbox controlsource = remote_viewusers.name (data type nvarchar (4) )
>>I see all 4 characters normal, but in the another computer I see 3 characters and the last character is square (◘).
>>
>>Where is the problem?
>>
>>Thanks
>>Eugenijus
>
>Some things to consider:
>
>1. Is the font set used by your program available to the computer?
>2. Video driver.
>3. Video card/chip set.
>4. System font size - one computer is large font the other (where the problem is seen) is set to small font?
>
Actually, if I had to bet, it's a difference in rendition based on different ODBC drivers on the two systems translating the varchar field, or distinct regional Windows setting on the two systems; one is displaying a trailing null as an actual character, and the other is dumping it. I'd guess that something is causing the two computers to treat the varchar field differently; either a regional setting or a difference in the ODBC/OLEDB provider running on the two machines.
FWIW, standard varchars are typically null terminated C-string data types. I can't say for certain because he doesn't tell us what backend is in use.