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

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

Recommended Posts

Posted

Hi

I'm trying to get scripts to go in my CWP solution. Basically, what I want to do is to allow a user to select a user from a client database and then allow them to create a new job in a jobs database by

- selecting a script that;

- copies the CustomerID from the client database

- pastes it into the Jobs database and uses this as the relationship between the two databases

So far I've tried a simple script that copies the CustomerID from the Clients database and pastes it back into another field in the same database. It works fine in Filemaker client but does nothing if done via the web.

I'm running OS X on all systems and FileMaker Pro Unlimited is in the foreground on the server.

Any suggestions gratefully accepted!!

Posted

In the Format file which lists your Clients database you could have something like this:

[FMP-Record]

Customer: [FMP-Field: cust_name] <a href="FMPro?-db=jobs.fp5&-layout=web&-format=jobs.html&cust_id=[FMP-Field:cust_id]&-new">Add Job</a><br>

[/FMP-Record]

Other methods exist. A little bit of Javascript can also be used to make it more compact by manipulating a Form.

All the best.

Garry

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