Jump to content

Field Selection to create & Delete a Record


 Share

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

Recommended Posts

I have a field that is either a yes or no. If someone selects yes, it creates a record into another related Table and that part works fine. But what I want to do is that if they had selected yes and created the record and then go back and select no that the related record is deleted automically without dialog.

Stumped yet again...

Thanks

Link to comment
Share on other sites

...and the primary key is ?

BTW: if i'm understanding you correctly, your primary key is the check field and you are checking that field inside a portal.

If so, attach this script to that check field:

If[isEmpty(table1::check)]

Set field [table1::check;"Yes"]

Else

Delete portal row [no dialog]

End If

Link to comment
Share on other sites

This topic is 5702 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
 Share

×
×
  • Create New...

Important Information

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