Bryan VonDeylen Posted May 20, 2005 Posted May 20, 2005 I am stumped on this one. A very simple solution. I just want to be able to add new records to a very simple database. I have attached the XSL Templates. Why can I NOT add new records. Everything 'seems' to work, except no new records are added. I have set the Accounts and Privileges for the Guest account to [Data Entry Only], which should allow Guest to Create New Records. volunteers.zip
Martin Brändle Posted May 20, 2005 Posted May 20, 2005 Any error messages? Are the permissions of the database file set to rw-rw---- ?
Bryan VonDeylen Posted May 20, 2005 Author Posted May 20, 2005 At first, there was an error message trying to go to browserecord.xsl (because there wasn't one, and I don't know why Filemaker Site Assistant created the xsl templates with that in there). I changed the line to go back to home.xsl, which it does now when Submitting the record. Just that no record is created on the server. Permissions are rw-rw---- I can create records using the FileMaker Pro Client logged in as Guest.
Bryan VonDeylen Posted May 20, 2005 Author Posted May 20, 2005 Well, I just made a browserecord.xsl template, and had the Addrecord.xsl go to it on "action", and now the record is getting added. I don't know why, since I really don't understand this stuff (just know how to solve my problems). Anyway, I then added a redirect on the browserecord.xsl page to go back to home.xsl after 5 seconds. Wouldn't mind knowing what I would need to do with addrecord.xsl to get it to actually add a new record and go back to home.xsl without having to display the record with a browserecord.xsl though.
Martin Brändle Posted May 21, 2005 Posted May 21, 2005 Now I see it! It's because you have this processing instruction in your home.xsl: <?xslt-cwp-query params="-grammar=fmresultset&-encoding=UTF-8&-process"?> It overrides all your previous form submission parameters. See also there Martin
Recommended Posts
This topic is 7124 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