trsands
01-12-2004, 04:54 PM
1) How do I get global variables in reports?
I have several reports which have values which are subject to change. I tried declaring them as global in a module along with the rest of my globals . But the reports claim the values are undefined. I do not want to have to change 15 reports every time one of the rates change
2) When I create a new record, the record number is apparently not defined until I save the record. In my project I have several users entering transactions, the transaction number is made up in part by the record number. I want to ensure that all transactions numbers are unique. I tried "locking" the table but because I have a bit of processing between record creation and saving. Its slowing my system down. P'haps I have poor design.
Of course the work around would be create the record immediately saveit then do my processing then updsate the record. But that is awkward
I have several reports which have values which are subject to change. I tried declaring them as global in a module along with the rest of my globals . But the reports claim the values are undefined. I do not want to have to change 15 reports every time one of the rates change
2) When I create a new record, the record number is apparently not defined until I save the record. In my project I have several users entering transactions, the transaction number is made up in part by the record number. I want to ensure that all transactions numbers are unique. I tried "locking" the table but because I have a bit of processing between record creation and saving. Its slowing my system down. P'haps I have poor design.
Of course the work around would be create the record immediately saveit then do my processing then updsate the record. But that is awkward