James Bott wrote:Silvio,
>you are the first person that wants to show ID's on new record data entry screens (before the record has been added to the database).
Any accounting software has the customer's code on the screen: In Italy the code is linked to the account number that is called Mastro (o Gruppo) and then there is the sub-account generally called Credits vs Customers and then the customer number.
Please don't insist on this topic,
we tried you can't do it like Nages did, avoid writing craps,
I can't deliver a program in which customer numbers or invoice numbers are lost if the operator doesn't make the rescue .
If in America it's right for you, continue your story, in Italy it's not possible !!!
That is NOT correct. The built-in capabilities don't have an ID number for new record data entry screens because the record does not yet exist. When the new record is saved, it automatically gets a new sequential number. If the user cancels, then there are no orphan numbers unlike your current system.
Please do not insist that Nages has succeeded in this as well,
if the user does not save, the Nages procedure saves the unsaved numbers in an archive and then calls them to the next entries.
I don't understand why you still don't understand
Actually, TData does conform to Italian rules of using sequential numbers. It is your requirement to display the unknown ID on new records that is creating all the problems.
I have not found any Italian regulation requirement to display an ID BEFORE a record was created. That is only a requirement of your client. In the 24 years that TData has been in use, nobody has asked for that. FW's TDatabase does not support that either. No matter which way you go (procedural code, TDatabase, or TData) you are going to have to write code to handle this.
[/quote]
Still insisting on a logical thing, the customer code as the invoice code must be shown in the entry dialog,
if your software does not do it does not matter ....
There are many programs in Italy do not insist you want me to send
you a program of Italian accounting? , the
Gestionale 1 of Zucchetti (zucchetti.it), or
EasyFact of the Danea (danea.it)
For a sample
Easy Fact of Danea.it Danea it is a Firm leader in Italy it build software from many years
I made a red circle to show to you the code of Invoice and code of customer
Please don't insist, do you want another sample ?
I can send you a Software of Zucchetti.it ( gestionale1)
customer manage of
Zucchetti
Account movement
of Zucchetti
as you can see it's not just a whim of silvio (or my client) who is inventing what he said, it's something that must be there
I do not ask you to view the ID before saving it but to display the ID in the insertion dialog as all major software in Italy does
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC