Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Overcoming a thorny interest calculation problem ..
Message
From
23/01/1999 07:58:28
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00178831
Message ID:
00179369
Views:
31
>Hi Mike,
>
>Thank you for sharing all this with us.
>
>... but when I see an SQL like that I think that time has come to revert to more traditional procedural coding that at least allows proper documentation.
>
>Or is it just me?
>
>Marc
>
Undoubtedly, a great job was done, but generally I agree with you. In cases like this (and I've done lots of interest calculus, specially since inflation forced us to use conform rates instead of proportional), I'd rather see three or four subqueries creating cursors for themselves first, which can be properly documented and hopefully obvious, and then do a somewhat easier join.

Interest data was never too easy. You always need something which is not an event (i.e. a document with a record in some table), but have to create a new record on the date distance between that and something else, which is hard to catch at times. Well, c'est la guerre :)

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform