BACKGROUND:
I have a DB Front/Back End. I have made a couple of changes to the Front End but, as this is a "Version" Update - it means that there are a couple of changes to the Data Back End as well. I have written the code to
1. Delete the Links to the Tables in to the Back end (only the ones I need to change)
2. Import the Tables to be changed into the front end (mainly just a field added)
3. Change the Tables as local tables in the front end
3. Export the updated Tables back to the Back End
4. Delete the Tables in the Front End
5. Relink them.
The user installs the new Front end and click on a button - "Update" which checks the Version Number and runs the update code.
PROBLEM:
If the Tables in the Back end are part of a 1-N relationship I can't export them back to the Back end without first deleting the relationship in the back end DB
QUESTION:
Is there any way to delete the relationship in the Back end DB from code run in the Front end?
I have a DB Front/Back End. I have made a couple of changes to the Front End but, as this is a "Version" Update - it means that there are a couple of changes to the Data Back End as well. I have written the code to
1. Delete the Links to the Tables in to the Back end (only the ones I need to change)
2. Import the Tables to be changed into the front end (mainly just a field added)
3. Change the Tables as local tables in the front end
3. Export the updated Tables back to the Back End
4. Delete the Tables in the Front End
5. Relink them.
The user installs the new Front end and click on a button - "Update" which checks the Version Number and runs the update code.
PROBLEM:
If the Tables in the Back end are part of a 1-N relationship I can't export them back to the Back end without first deleting the relationship in the back end DB
QUESTION:
Is there any way to delete the relationship in the Back end DB from code run in the Front end?