> Dave Peticolas <[EMAIL PROTECTED]> writes:
> > This seems to work for the examples I have. It will fail when
> > a number contains a thousands separator in us-style but no
> > decimal point. I cannot find any example of this in the qifs
> > I have (and in the data dir). Anyone have a counterexample?
>
> Yes. There's a fairly popular program for the Newton machines and
> for the Pilots called "Pocket Money". The last 3 years or so of
> all my account info is in PM. It has a QIF export facility, and
> round-dollar figures make QIF records like so:
>
> !Type:Bank
> D4/10/97
> T2,000
> N
> C*
> M
> PUFCU
> L
> ^
Doh, that messes up everything :) I'll try and fix this in the C
code. I don't have access to pocket money. Could you send me a
qif file from that I could use to test?
> Is there a QIF spec document? It's my experience that if something is
> not officially forbidden by a spec somebody will do it that way, and
> you want to be able to parse anything that meets the spec.
I'm not aware of one.
> AFAICT, there are two different mechanisms in CVS gnucash for
> importing QIF: one (which Rob tells me is known-broken and likely to
> go away) in C code, accessible through the big button or file/import,
> and one which is in Scheme in the Extensions menu, unless you have
> applied Dave's patch in which case it's just hidden.
Well, the C code is also know to work on many other qifs. The scheme
code is know not to work on anything, as its not complete :) We can't
remove the C version until we have a guile version that works better.
> Who wrote the Scheme code? I can't find a name on it anywhere. If
> it's not being actively worked on, I'd be happy to take a shot at
> cleaning it up, if only so I can get my own financial history sucked
> into gnucash.
Christopher Browne did most of that work, I believe. I'm sure he wouldn't
mind if you tried to finish it, though.
Oh, yeah, here's another qif wrinkle: Some versions (maybe all?) of
Quicken print out dates in 2000 in a strange way. Jan 1, 2000 becomes
1/1/' 0
wierd.
dave
--
Gnucash Developer's List
To unsubscribe send empty email to: [EMAIL PROTECTED]