Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Other computer, other view in the textbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00590821
Message ID:
00590874
Vues:
25
>>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.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform