Darren Emery Posted January 12, 2011 Posted January 12, 2011 I've heard time and time again - avoid a repeating field like the plauge. But - I'm thinking of using one. Tell me - is this a mistake? The basics: Each time someone in our office prints a letter, I would like to store the date of that event. I have a seperate file to track the creation of the letter, and the letter type, and the letter will have the current date referenced when printed. The letters will be printed from a script, not straight from the print button. Suggestions on how and where to store a date, each time the letter is printed?
comment Posted January 12, 2011 Posted January 12, 2011 I've heard time and time again - avoid a repeating field like the plauge. There is no reason to avoid repeating fields; however, there is every reason to avoid them when they are not appropriate. For example: how many repetitions will your repeating field have? And what will you do when the letter is printed more times than that? Suggestions on how and where to store a date, each time the letter is printed? It depends on why do you need to store the dates. The simplest way would be to keep them as a return-separated list in a text field. The disadvantage here is losing the Date data type. If that's important, use a related table where each printout will be a record.
Darren Emery Posted January 12, 2011 Author Posted January 12, 2011 There is no reason to avoid repeating fields; however, there is every reason to avoid them when they are not appropriate. For example: how many repetitions will your repeating field have? And what will you do when the letter is printed more times than that? It depends on why do you need to store the dates. The simplest way would be to keep them as a return-separated list in a text field. The disadvantage here is losing the Date data type. If that's important, use a related table where each printout will be a record. I think I answsered my own question, and had it confirmed by comment. I created a new related table, and create a new record each time the letter is printed. I can track date, time, user name, type of letter, etc now. Thanks, Comment...
Recommended Posts
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