Newbies SmellTheCoffee Posted September 25, 2012 Newbies Posted September 25, 2012 I have a couple of scripts that use Set Field. These scripts are run using a button in a portal. They both work fine in the application, but one doesn't work at all in the web browser while the other sometimes does something. Am I missing something? The scripts show complete compatability for iwp.
webko Posted September 25, 2012 Posted September 25, 2012 Probably depends on how and with what value they are setting the field... If they reference a global or are otherwise context sensitive, you may have issues... Exact script definition?
Newbies SmellTheCoffee Posted September 25, 2012 Author Newbies Posted September 25, 2012 This script is activated by a button in a portal to a Results layout, within Students layout. The button essentially is to create and partly fill in a new results record for that student. The portal filter uses the field Year and SubjectID, as well as Student ID. New records in Results table have a Results ID counter. * If [Results::Result ID = 0] (provided the record using this ID is empty) * Set Next Serial Value [Results::Results ID] (basically start a new record with the ID counter) * Set Field [Results::Student ID; Students::Student ID] (Reads field from Students layout and enters it into new record) * Set Field [Results::Subject ID; Students::Subject ID] (Reads field from Students layout and enters it into new record) * Set Field [Results::Year; Students::Year] (Reads field from Students layout and enters it into new record) *End If It's pretty basic, with no particular bells or whistles, and as I said, it works in Filemaker. None of the fields are global.
Recommended Posts
This topic is 4837 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