Hi,
Adding fields in the table, using RTC. On the page i have created a Action Button Tigger have written the following code to add field.
Field_R.MODIFY;
COMMIT;
Field_R.INIT;
Field_R.TableNo := 3;
Field_R.Type := Field_R.Type:: Code;
Field_R.“No.” := 50000;
Field_R.FieldName := ‘note’;
Field_R.Len := 20;
Field_R.Enabled := TRUE;
Field_R.INSERT;
So this code is working in 2009 rtc. but when coming to 2013 it say the “Table 0 does not exist.”.
I could understand what is going wrong in the above code.