Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7645 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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 ?

Posted

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

Posted

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. smile.gif

LaRetta

  • 2 weeks later...
Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.