Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Hi.

How do you tell your database to perform a script using CDML?

I've got this tag in my form:

<input type="hidden" name="-Script" value="the_script_name">

And I use this action tag:

<input type="submit" name="-new" value="submit">

Is there anyway of telling your database to perform the script without using the -new, -edit, -find, -findall tag?

I just want to send two text field values to my database and let my script do the job.

How do you tell your database to perform a script using CDML?

thanks...

Posted

First, you must use a cdml action tag.

Second, there is a huge problem using scripts on the multi-user environment of the web since the Web Companion is single-threaded. Unless you develop a workaround or use an available workaround, you run the risk of misinforming your clients and losing data.

If you can follow instructions, a demonstration of the problem is available for FREE. Contact [email protected] by email and ask for the free demonstration "When Scripts Collide". It is available in FMPro 4 for Macs compressed in Stuffit and in FMPro 5 for Macs (Stuffit) and PC's (Zipit, opens in winzip).

SIMPLIFY ...

Keith M. Davie

Posted

Thanks Keith.

Is there a way that I can send info to my database and tell my script to take that info and do it's job (i.e. validate the incoming info and then decide whether or not to create a new record with the new info at hand) without using the actions: find, findall, new, edit, delete, view, or dup?

All I want is to send info to my database via a form and ask my script to decide what to do (i.e. create a new record or create an error).

I'd really appreciate some help! Thank you.

Posted

If you know which options they can or can't do, Why don't you use a IF statement and then redirect to another page, using the -FORMAT tag

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