June 13, 200124 yr Newbies Hi, I am looking for some guidance in building a script that will auto generate a date and comments field. I want the user to be able to enter a date and comment, click a button that says add another comment, and have a new empty date and comment field appear. If anyone can point me to some examples of this I would be much obliged. Thanks for your help! Rosie
June 13, 200124 yr The best, most elegant (and proper) way to do this is to crreate a related file to hold the comments (each record in this file will have a date field and a comment field) and use a portal to display them in the master database. Adding another date and comment will just be a matter of clicking into the blank portal row and typing... no scripts or anything needed. This is good data design: each master record can have one or many comments, so it requires a related file: *not* multiple fields or <shudder> repeating fields.
Create an account or sign in to comment