V4MD: Insertion of a blank line while importing text
Ruslan Zasukhin
ruslan_zasukhin at valentina-db.com
Fri Jan 15 08:25:39 CST 2010
On 1/15/10 3:52 PM, "Panagiotis Apostolellis" <takis73 at gmail.com> wrote:
> Please show
>
> * few lines of your text file
> This is a test for Ruslan so you can see for yourself what the problem is!!!
> This second paragraph leaves a blank line before. The same between this and
> the next one.
> This text was written within VStudio!
> * what is produced by import OR export.
> Text placed in a Director text member.
> * your code which do this import or export.
> txtWanted = "linktext, year, photo, photo_lezantes" -- the fields I want to
> retrieve
> linkTxtC = gDB.sqlSelect("SELECT "&txtWanted&" from chrono where enotita=
> '"&enotita&"' ORDER BY year") -- get those fields from Table "chrono"
> matching criteria "enotita" ordered by "year"
> gLinkTxt = linkTxtC.getRecordAsPropList(value(linCol.item[1])) -- put the
> resulting records in a global list variable
* And this list contains already above TEXT with blank lines, yes?
* Do you work always on single platform? Mac or Win?
Can be this issue of different platform line ends?
* Does Vstudio show later above text fine? Without blank lines?
> txt = getProp(gLinkTxt, fText) -- get field fText (in our case fText =
> "linktext") from within the variable gLinkTxt
> pSprite.member.text = txtOrRtf -- put it as the text of a text sprite
>
> The linktext field is a Text, 2044, Nullable, Indexed, UTF-16 field
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina
mailing list