LVA Posted December 10, 2003 Posted December 10, 2003 I would like to import some records and at the end of the script tell the user how many records were imported. I know I could show a layout with that information , but I would like to use the show message script step, is it possible ? how ?
dbruggmann Posted December 10, 2003 Posted December 10, 2003 With the simple Show Message script step this won't be possible. You need the Show Custom Dialog step, which is only available in FMP 6. Then I think you should be able to this with the status functions: Status (CurrentRecordCount) gives you the total number of records in the database. Create a calculation field
LaRetta Posted December 10, 2003 Posted December 10, 2003 Hi LVA, If you can use Custom Dialog, you actually only need one global text field and a Set Field[] script-step. It would look something like this: Import Records you will end up with a found set of imported records. Then immediately... Set Field [GlobalText, "You have imported " & Status(CurrentFoundCount" & " records." Show Custom Dialog ... When defining your Custom Dialog, only have an OK default button, Dialog Title text with "Import Result" and Dialog Message from field value and select your global text field. LaRetta
LVA Posted December 10, 2003 Author Posted December 10, 2003 I tried using FM6 to see how it works and it
Wendy T Posted December 23, 2003 Posted December 23, 2003 At the end of your script, go to another layout, then pause. Design this layout to look like a dialog box with your custom message & an OK button. Attach a "resume script" or "go to layout" step to the OK button, which returns the user to wherever they should be... and voila! cheers, Wendy
kenneth2k1 Posted December 23, 2003 Posted December 23, 2003 Or, they could just look at the current found count to know how many were imported
Recommended Posts
This topic is 7645 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