-
Format$ using "!@" When Value ""
I use the following logic to get the value equal to the value in SavSLCust_ShipToCity plus trailing spaces
Format$(SavSLCust_ShipToCity, "!@@@@@@@@@@@@@@@@@@@")
problem is if the value of SavSLCust_ShipToCity is equal "" then the Format$ does not return all spaces. Any ideas on how to change the Format$ so it does return all trailing spaces when value is ""?
Thanks
-
Instead of Format$, try this:
Dim Buffer As String
Buffer = Space$(20)
LSet Buffer = SavSLCust_ShipToCity
You only have to initialize Buffer once, then use LSet (and/or RSet) to populate it with values.
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
Similar Threads
-
Replies: 2
Last Post: 10-12-2005, 09:07 AM
-
By Don in forum VB Classic
Replies: 6
Last Post: 09-09-2005, 01:23 PM
-
By krish_indus in forum Java
Replies: 2
Last Post: 05-26-2005, 06:22 AM
-
Replies: 1
Last Post: 01-27-2003, 07:12 PM
-
By James in forum VB Classic
Replies: 2
Last Post: 09-23-2002, 10:37 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks