Format$ using "!@" When Value ""
I use the following logic to get the value equal to the value in SavSLCust_ShipToCity plus trailing spaces
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 ""?
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.
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
Last Post: 10-12-2005, 09:07 AM
By Don in forum VB Classic
Last Post: 09-09-2005, 01:23 PM
By krish_indus in forum Java
Last Post: 05-26-2005, 06:22 AM
Last Post: 01-27-2003, 07:12 PM
By James in forum VB Classic
Last Post: 09-23-2002, 10:37 PM
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