geod Posted July 7, 2004 Posted July 7, 2004 When testing a simple solution with IWP, this is to be used with Server Advanced, I get strange behavior with the GotoRecord/Request/Page script step. This step is supposed to be compatible with the web. If I insert this step into a script or try to assign it to a button and then click the Web Compatibility checkbox it inserts the following into the scrpt: GotoRecord/Request/Page [Perform with dialog(NOT COMPATIBLE):First] Which is very peculiar. Plus these buttons when viewed on the Web to not work. I cannot go from record to record with this step step attached to a button. Can anyone shed any light on this. Thanks much.
Justin Grewe Posted July 8, 2004 Posted July 8, 2004 You must take away the perform w/ dialog box on the bottom of that script. IWP and using FileMaker online cannot use FileMaker dialog on the web since the user doesn't have FileMaker on their machine. After you uncheck that box, the script will work on the web with the button you made.
joebwan Posted July 9, 2004 Posted July 9, 2004 In Filemaker Pro 7 and Filemaker Developer 7 (I just checked), there is no "perform w/ dialog" check box for that script command.
geod Posted July 9, 2004 Author Posted July 9, 2004 There is a dialog option if you choose to go to Record/Request/Page by calculation. But the step still thinks it is Not Compatible when you choose First, Previous, Next or Last. Which under normal operation do not require the use of a dialog box. I think this is a FM glitch. I have temporarily gone around the problem by using the "by calculation" method and choosing to not have a dialog box. It works in FM and also in IWP. The calculations are: First = 1, Previous = Get(RecordNumber) - 1, Next = Get(RecordNumber) + 1, and Last = 999999999999, a large number beyond the possible last record number. I wonder if this has been reported to FM yet.
Justin Grewe Posted July 9, 2004 Posted July 9, 2004 Yes, I know that when you use goto next record or goto previous record, it says not compatible, but the only thing that is not compatible is the preform with dialog, the script step will still work, just that you will not see the dialog. There is not a checkbox to disable this, only for the calculation, why, im guessing that you cannot disable it for some reason. But nevertheless, the script will still work, I have tried it myself on IWP.
Recommended Posts
This topic is 7434 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