Encode URL and Delete Record on Linked Tables

Encode URL and Delete Record on Linked Tables

  
Hi every one

While developing a web app i found myself stuck on two actions i need.

One of them is deleting records on tables that are connected ex:
 Table Mouse has id and name and Table Computer has id, id_Mouse (as FK) and name)

So when i try to normally invoque the delete action for a record in Table Mouse i get an exception.

The other one is pretty simple i am trying to mask a URL using EncodeURL but i cant figure out how to use it.
I understand it is a built in function and that it is available in expression editor but how can i implement it on a specific e-space?

Any help would be apretiated thank you a lot in advance

cheers
@Daniel "One of them is deleting records on tables that are connected ex:
 Table Mouse has id and name and Table Computer has id, id_Mouse (as FK) and name)"
 
Delete Computer record first, then delete mouse record.


"The other one is pretty simple i am trying to mask a URL using EncodeURL but i cant figure out how to use it.
I understand it is a built in function and that it is available in expression editor but how can i implement it on a specific e-space?"


Create two variables "MyValues" and "Result", MyValues is the values you want to encode, and Result is the encoded Url values.

You can then assign the Results variable with the returned values from EncodeUrl(MyValues) using the blue assign widget.