diff --git a/src/include/postman.cpp b/src/include/postman.cpp index 89eb4c801..fe9bb7a76 100755 --- a/src/include/postman.cpp +++ b/src/include/postman.cpp @@ -640,8 +640,8 @@ HIDDEN void odbc_send(const TString & dsn, int num, TAuto_token_string & elab_fi int err = recset.exec(check_statement); if (err <= 0) { - create_table(recset, num, name, wrk); - popolate_table(recset, num, name, wrk); + create_table(recset, curr_file_num, name, wrk); + popolate_table(recset, curr_file_num, name, wrk); recset.exec("COMMIT;"); } else diff --git a/src/include/relapp.cpp b/src/include/relapp.cpp index a3164644e..0ff4b6899 100755 --- a/src/include/relapp.cpp +++ b/src/include/relapp.cpp @@ -2263,6 +2263,7 @@ void TRelation_application::mask2ini(const TMask& m, TConfig& ini) if (campo.is_sheet()) { TSheet_field &sheet=(TSheet_field &)campo; + sheet2ini(sheet,ini); // It's virtual } }