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

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

Recommended Posts

Posted

hello out there ;)

I have a few questions. Which way is the better one for scripting?

Should I use one big script for my database? I jump then to the right position with scriptparameters.

Or should I have many little scripts which I call like the normal way when I need them?

What is better for the performance of the database.

Posted

As a general rule, if a set of script steps can be reused frequently, then it makes more sense to keep those as a seperate step; which in turn can be used as a subscript.

Posted

I'd say go with one script for each major operation, but if there are parts that are similar for different record sets or something, use subscripts for those (pass parameters as necessary).

For example if you have a bunch of reports, they might all start out putting the user into a Find screen, and they might all end with a print preview, but in the middle, they do different things to Find specific subsets, go to the right layout, and sort based on specific fields. So I'd use separate scripts for each report with subscripts to do the common operations, like enter the Find screen and set some default criteria, then manage the whole Print/Preview operation.

This topic is 6346 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.