Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NUL terminate a field's data before placing into a table
Message
From
05/05/2007 17:37:27
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01222685
Message ID:
01222782
Views:
16
Sorry why CCed?
Cetin

>Oh, I understood what he meant, but perceived that he has an interesting and fun personality.
>
>I added the CHR(0) NULL Character and it resolved the problem I was having in the tree object. The last and first names were spread out and a bit unsightly.
>
>>>A client was telling me that I need to NULL terminate my strings before importing them into his company's tables. He says that even though I am using ALLTRIM(), that there are still spaces showing up in a TREE object in his software.
>>>
>>>How do you NULL terminate a string of data?
>
>>He probably means that you should add a CHR(0) (ala C strings)
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform