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
04/05/2007 20:42:21
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:
01222688
Views:
12
>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?

Gee, tell him that he should do the trimming while adding nodes to tree. If insists on null then add chr(0) after trimming.
Cetin
Ç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
Next
Reply
Map
View

Click here to load this message in the networking platform