Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Should I use CHR(13) + CHR(10) as line feed?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01662512
Message ID:
01662517
Vues:
44
>>>>Hi,
>>>>
>>>>When creating a long string and trying to format it for better view in a report, I use CHR(13) + CHR(10). Here is an example:
>>>>
>>>>
>>>>cString = "Part No " + MyTable.Part_No + chr(13) + chr(10) + ;
>>>>"Part Descr " + myTable.Part_Descr + chr(13) + chr(10) 
>>>>*-- and so on, adding other fields
>>>>
>>>>
>>>>Then I store the cString into a field of SQL Server table. But when I copy the content of the field (from the SSMS) and then paste in a Notepad, the "line feed" is not respected. The entire string looks without breaks.
>>>>
>>>>What I am missing?
>>>>
>>>>TIA
>>>
>>>Nothing, SSMS just removes all non printing chars from result.
>>
>>Thank you.
>
>Check this https://dba.stackexchange.com/questions/187680/carriage-return-line-feed-stopped-working-in-sql-server

Thank you for this link.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform