I will try to explain better (my English is not very good).
I have developed a new module where to centralize the management of the reports associated with every option of my application.
The procedure that call to “LLDefineLayout” is:
Procedure DoAbrirDocLL Integer iLLObj String sFile String sTitulo Integer iType
Get Name of iLLObj to sName
Get LLJobOpen of iLLObj to iRet // Open the Job
//deshabilitar opciones de menú del editor
//abrir, Nuevo, Guardar como
//ni se permite minimizar el editor
Get LLDesignerProhibitAction of iLLObj 524 to iRet //new
Get LLDesignerProhibitAction of iLLObj 519 to iRet //open
Get LLDesignerProhibitAction of iLLObj 515 to iRet //save as
Get LLDesignerProhibitAction of iLLObj 726 to iRet //Import
Get LLDesignerProhibitAction of iLLObj 990 to iRet //File > LRU list
Get LlDesignerProhibitAction of iLLObj LL_SYSCOMMAND_MINIMIZE to iRet
Get LLDefineLayout of iLLObj (window_handle(Self)) ("Editar formato: "+sTitulo) (iType ior LL_NONAMEINTITLE) sFile to iRet
Get LLJobClose of iLLObj to iRet // Close the Job
This procedure works in general, except when I create a new project “LL_PROJECT_LIST”, in that not even the existing relations appear between the tables, not the available indexes for the above mentioned tables.
If I try to edit a report already created with the method traditional, I get an error message:
“At design time, table “X” had a sort order “i” that is not available now. Please check the usage…”
I would need some orientation in the matter, since I have a great project stopped by this problem.
Thank you for your time.