For the formatting option that you have your output will be like:
01Code 01Desc2000
and not
01Code 01Desc 2000
Also, some of the strings may not be getting formatted properly if
length of any string in your dataset exceeds the width that you
specify in the format option.
Can you show me with your real data?- Hide quoted text -
- Show quoted text -
thanks for reply
I have put '-' on the place of space for better understanding.
This comes for Northwind database, product table
the real data is :
alice mutton----------------------------alice mutton
aniseed syrup---------------------------aniseed syrup
boston crab meat------------------------boston crab meat
camembert pierrot-----------------------camembert pierrot
carnarvon tigers------------------------carnarvon tigers
chai------------------------------------chai
chang-----------------------------------chang
chartreuse verte------------------------chartreuse verte
chef anton's cajun seasoning------------chef anton's cajun seasoning
chef anton's gumbo mix------------------chef anton's gumbo mix
chocolade-------------------------------chocolade
côte de blaye---------------------------côte de blaye
escargots de bourgogne------------------escargots de bourgogne
filo mix--------------------------------filo mix
flotemysost-----------------------------flotemysost
geitost---------------------------------geitost
genen shouyu----------------------------genen shouyu
gnocchi di nonna alice------------------gnocchi di nonna alice
gorgonzola telino-----------------------gorgonzola telino
grandma's boysenberry spread------------grandma's boysenberry spread
gravad lax------------------------------gravad lax
guaraná fantástica----------------------guaraná fantástica
gudbrandsdalsost------------------------gudbrandsdalsost
gula malacca----------------------------gula malacca
gumbär gummibärchen---------------------gumbär gummibärchen
gustaf's knäckebröd---------------------gustaf's knäckebröd
ikura-----------------------------------ikura
inlagd sill-----------------------------inlagd sill
ipoh coffee-----------------------------ipoh coffee
jack's new england clam chowder---------jack's new england clam
chowder
konbu-----------------------------------konbu
lakkalikööri----------------------------lakkalikööri
laughing lumberjack lager---------------laughing lumberjack lager
longlife tofu---------------------------longlife tofu
louisiana fiery hot pepper sauce--------louisiana fiery hot pepper
sauce
louisiana hot spiced okra---------------louisiana hot spiced okra
manjimup dried apples-------------------manjimup dried apples
mascarpone fabioli----------------------mascarpone fabioli
maxilaku--------------------------------maxilaku
mishi kobe niku-------------------------mishi kobe niku
mozzarella di giovanni------------------mozzarella di giovanni
nord-ost matjeshering-------------------nord-ost matjeshering
northwoods cranberry sauce--------------northwoods cranberry sauce
nunuca nuß-nougat-creme-----------------nunuca nuß-nougat-creme
original frankfurter grüne soße---------original frankfurter grüne
soße
outback lager---------------------------outback lager
pâté chinois----------------------------pâté chinois
pavlova---------------------------------pavlova
perth pasties---------------------------perth pasties
queso cabrales--------------------------queso cabrales
queso manchego la pastora---------------queso manchego la pastora
raclette courdavault--------------------raclette courdavault
ravioli angelo--------------------------ravioli angelo
rhönbräu klosterbier--------------------rhönbräu klosterbier
röd kaviar------------------------------röd kaviar
rogede sild-----------------------------rogede sild
rössle sauerkraut-----------------------rössle sauerkraut
sasquatch ale---------------------------sasquatch ale
schoggi schokolade----------------------schoggi schokolade
scottish longbreads---------------------scottish longbreads
singaporean hokkien fried mee-----------singaporean hokkien fried mee
sir rodney's marmalade------------------sir rodney's marmalade
sir rodney's scones---------------------sir rodney's scones
sirop d'érable--------------------------sirop d'érable
spegesild-------------------------------spegesild
steeleye stout--------------------------steeleye stout
tarte au sucre--------------------------tarte au sucre
teatime chocolate biscuits--------------teatime chocolate biscuits
thüringer rostbratwurst-----------------thüringer rostbratwurst
tofu------------------------------------tofu
tourtière-------------------------------tourtière
tunnbröd--------------------------------tunnbröd
uncle bob's organic dried pears---------uncle bob's organic dried
pears
valkoinen suklaa------------------------valkoinen suklaa
vegie-spread----------------------------vegie-spread
wimmers gute semmelknödel---------------wimmers gute semmelknödel
zaanse koeken---------------------------zaanse koeken
Rahul