Waki Posted January 10, 2007 Posted January 10, 2007 Hi, i've this problem. I've made an invoice db, with automatic calculation of multi-payment (example, first part after 30 days, second after 60d, third after 90 days). The 3 part calculation is not a problem. What i can't do is a new table, with the list of all my payment, so for the invoice number x with 3 payment, i wanna 3 line(record) in this new table. How can i make an automatic record creation in this new table, when i set the number of payments in my invoice? Thanks in advance
Søren Dyhr Posted January 10, 2007 Posted January 10, 2007 How can i make an automatic record creation in this new table, when i set the number of payments in my invoice? Well I wouldn't but instead make the invoice show up 3 times in a related table holding all dates as keyvalue - the way it could be accomplished is to exploit that a pilcrow-delimited keyfield makes the omission of a dedicated join table posible. If you wish to make a found set of the days something needs to get paid, make a show all search in the invoice table, followed by a GTRR(FS) and only the records in the date table which correspond to a payment date belongs to this found set. BTW could you instead of the pilcrodelimited make a 3 repetition repeating field containing: Extend ( invoicedate ) + Get ( CalculationRepetitionNumber ) * 30 ...giving the same result as key value! --sd
mr_vodka Posted January 11, 2007 Posted January 11, 2007 Pilcrow is the paragraph symbol ( ¶ ). So basically a Pilcrow delimited field would be a field with a value like this: A ¶ B ¶ C¶..... Which result in a key field would actually be typed in as A B C D
Recommended Posts
This topic is 6584 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now