I want to create a table relation in such a way that any changes made on the main table will reflect on all other table having relations to the main table.
I used to table field property to create table relations but it only allows me to relate only one table. whenever i try relating more than one table i have this error
"the cursor is in front of an invalid character"
Does anyone knows how to do this? All i want is to create a table relation in such a way that any changes made on the main table will reflect on all other table having relations to the main table.
0
Comments
Basically the reason why i am doing all this is because we have change to new set of numbers and we want to replace the old numbers by new numbers and we want this to take effect in all tables where we have employee numbers as a field there.
If you simply import new values into the main table they will be treated as new records (insert) and no renaming will occur. Your import process must match the new records with the old records and execute a rename.
I have two fields from a table called employee, the two fields are called No. and ssno. I want to rename No. from the txt file if the other field on the text file has the same number as that of No. on the table.
For example, the text file
No. SSNO.
A123 123
B123 345
I want field No. to be replaced on the table if SSNO on the text file is the same as that on the table.
Please help me on this.
IF Employee.GET("SSNO.") THEN
Employee.RENAME("No.");