lpm Posted July 8, 2008 Posted July 8, 2008 I have a global calc in Table A showing a Max_serial ID field in Table B that increments up one number when a record is added to Table B. Although the Max_serial ID in Table B does increment up a number when a record is added to Table B, the global in Table A does not and remains the same. Is there a way to trigger the global in Table A field to increment up via a script or is there a better calc or other solution for this? TIA Win XP, FMA9
Søren Dyhr Posted July 8, 2008 Posted July 8, 2008 Use Count( over a cartesian relation instead of using a global! --sd
lpm Posted July 8, 2008 Author Posted July 8, 2008 Will that allow me to see in table A the Max_serial ID value from table B? I'm a little confused. Thanks,
Søren Dyhr Posted July 8, 2008 Posted July 8, 2008 Ok! max( is a bit safer in case a record or two have been deleted. But still dupe the table B To and tie it to an field in table A via the cartesian. The rest is ...math! Would you be needing a template? --sd
comment Posted July 8, 2008 Posted July 8, 2008 Global calculations are stored, and will not recalculate when a record in another table is modified. Use an unstored calculation instead.
Recommended Posts
This topic is 5982 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