Home > database > PB in how to use a field to calculate the value of another field, beg ace!!!!!!
PB in how to use a field to calculate the value of another field, beg ace!!!!!!
Time:09-22
Table "personal account", for example: Annual salary, salary two fields, how to calculate the monthly wage input after years salary automatically, strives for the code, be urgent!!!!!!
CodePudding user response:
Open the window, insert on the menu -> Computed Filed in fill in the field name/12
CodePudding user response:
[Quote=1/f, reference response:]
Open the window, insert on the menu -> Computed Filed in fill in the field name/12 [/Quote Hello, this I know, but how will the data channel in the database?
CodePudding user response:
If the calculation domain in the detail, you can use getitemnumber obtained after calculating the value of the then there is the corresponding field in the datawindow in code assignment,
CodePudding user response:
Computational domain in detail, can make the calculation results with getitemnumber, then using setitem place the results to assign values to the related field, realize the synchronous changes, the computational domain, set to invisible, then see the effect is to modify a field, and another is changed automatically,