Turansky Posted January 8, 2002 Posted January 8, 2002 Hello, I'm trying to post a record to a database where the field is defined to another database. From what I have read I think you would call it a related field. I know I'm suppose to put something else in the input tag but I don't understand it. Could someone give me a good example of what I need to do please. <form name="event" method="post" action="http://xxx.xxx.xxx.xxx/FMPro"> <input type="hidden" name="-db" value="scoe_participant.fp5"> <input type="hidden" name="-lay" value="participant"> <input type="hidden" name="-format" value="scoe/confirm.html"> <input type="text" name="title"> <input type="submit" name="-new" value="Submit New Event"> </form> SIDE NOTE: I don't know if this makes a difference or not but right now it's a 1 to 1 database and in the future this will become a 1 to many database. Thank you Kent
Turansky Posted January 8, 2002 Author Posted January 8, 2002 I figured out what my problem was. When you define the related database there is a box that says to "Allow creation of related records" . . . . I did not have that checked. And I'm not entirely sure if I want any of the other boxes checked either. So now it works but it brings up a new question. It's creating a record in each database. But I'm not sure I want to do that? My goal is to have this events database that administrators can go to add events to the database. Then the participant database is for when someone wants to sign up for the event they will then be related to that event. Do I want all of my events to be added through the participant database so I get a duplicate record on each database? I might be looking at this all wrong but would love to hear comments from anyone and everyone please. Thank you Kent
Garry Claridge Posted January 9, 2002 Posted January 9, 2002 Maybe have the "Participants" belonging to "Events". Use a portal in the "Events" database to access the related participants. All the best. Garry
Recommended Posts
This topic is 8423 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