[GNC] clip board paste across catagories
Geert Janssens
geert.gnucash at kobaltwit.be
Wed Sep 30 06:12:06 EDT 2020
Op woensdag 30 september 2020 11:51:56 CEST schreef ToddAndMargo via gnucash-
user:
> 1) learn how to import a CSV into GnuCash
>
> 2) take my data that I was going to place in the clipboard
> and instead write it to a standard CSV file and location
> the GnuCash can easily and consistently see
>
> Since I will be the one handling the dat, I should be able to
> handle the pitfalls of CSV.
>
> One of my customers had me write a filter between two
> program the used a CSV to transfer data between the two
> of them. Things go a little interesting when the
> importing program thought the quote mark they were
> using for inches was the field terminator. It was
> a bug in the receiving program as the field terminator
> is a quote and then a comma. The end of line is a quote
> and a return. My solution was to find where they were
> using a quote sign for inches and replace it with "in".
>
> I do use single quotes to denote cable feet and I may
> have a few double quotes in my part descriptions that
> I have to deal with. It all depends on how well done
> GnuCash's import function is written. I will find out.
If you want to use double quotes as data, you will have to escape them.
There are two escape methods gnucash understands: prepend with a backslash
(\") or put two double-quotes in a row ("")
Regards,
Geert
More information about the gnucash-user
mailing list