extra blank line
Posted: Mon Dec 03, 2012 3:49 am
Hi,
With this script every time I go to a card it gets the content of the fld findlot and puts it into a scrolling fld cpound on another cd inventory1.
It works great. But, it puts an empty line in between each copied entry and I want single space.
Any suggestion are appreciated. Thanks! - Patrick
on openCard
if the hilite of btn "Recent" of cd "inventory1" of stack "inventory" is true then
if there is fld "findlot" then
put fld "findlot" & return after fld "cpound" of cd "inventory1" of stack "inventory"
end if
end if
end openCard
This is what it does:
11330 - 11 - RG01067 - Cacao Butter - hr3D4
11328 - 11 - RG01070 - Cacao powder - hr4C2
11611 - 11 - RG01058 - Boldo, whole - hr2B1
11861 - 11 - RG01071 - Cacao, beans - R2
This is what I want:
11330 - 11 - RG01067 - Cacao Butter - hr3D4
11328 - 11 - RG01070 - Cacao powder - hr4C2
11611 - 11 - RG01058 - Boldo, whole - hr2B1
11861 - 11 - RG01071 - Cacao, beans - R2
With this script every time I go to a card it gets the content of the fld findlot and puts it into a scrolling fld cpound on another cd inventory1.
It works great. But, it puts an empty line in between each copied entry and I want single space.
Any suggestion are appreciated. Thanks! - Patrick
on openCard
if the hilite of btn "Recent" of cd "inventory1" of stack "inventory" is true then
if there is fld "findlot" then
put fld "findlot" & return after fld "cpound" of cd "inventory1" of stack "inventory"
end if
end if
end openCard
This is what it does:
11330 - 11 - RG01067 - Cacao Butter - hr3D4
11328 - 11 - RG01070 - Cacao powder - hr4C2
11611 - 11 - RG01058 - Boldo, whole - hr2B1
11861 - 11 - RG01071 - Cacao, beans - R2
This is what I want:
11330 - 11 - RG01067 - Cacao Butter - hr3D4
11328 - 11 - RG01070 - Cacao powder - hr4C2
11611 - 11 - RG01058 - Boldo, whole - hr2B1
11861 - 11 - RG01071 - Cacao, beans - R2