GlennC Posted January 8, 2003 Posted January 8, 2003 I have a group of 10 fields whose data will sometimes need to be be the same as another group of fields in the same layout, and sometimes not, depending on the value of another field. These are all within the same database. Is there a way I can automatically have the data copy itself from the first group of fields to the second when required? Very grateful for help! Glenn
jasonwood Posted January 8, 2003 Posted January 8, 2003 Sounds similar to what I do for Billto/Shipto addresses. I have a button to copy billto to shipto... it looks like this: set field (shipAddress, billAddress) set field (shipCity, billCity) set field (shipProvince, billProvince) set field (shipPostalCode, billPostalCode) etc. Would that be enough? or do you need it to update itself immediately when the value of this "other field" is changed?
GlennC Posted January 9, 2003 Author Posted January 9, 2003 Thanks Jason, that does it. I needed this to occur conditionally and so have inserted a 'case' statement within the 'set field' and it goes AOK. Thanks for your help.
Recommended Posts
This topic is 7993 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