I created a desktop operation to append from one tabled to another based upon the location of the data. Then took the xbasic (changing bits of it for the web application) and placed it on a page by itself. A link on a different page fires this page (firing the append code)
I am getting the following error.
This is the code that I am using to run the Append.
I do not understand the error that I am getting. Does anyone have an idea or clue to help me along this process?
I am getting the following error.
Code:
500 Internal Server Error "Script Error Error:Error running Append Operation The system cannot find the file specified. C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\27\VIOLATED.MDX"
Code:
DIM Append as P a_tbl = table.open("[pathalias.adb_path]/sold") append.t_db = "[pathalias.adb_path]/inventory" ON ERROR GOTO ERROR23102008165318187 append.m_key = "" append.t_key = "recno()" append.m_filter = "" append.t_filter = "Location = \"Sold\"" append.type = "All" append.m_count = 8 append.m_field1 = "Id" append.m_exp1 = "@Inventory->Id" append.m_field2 = "Serial_Number" append.m_exp2 = "@Inventory->Serial_Number" append.m_field3 = "Stock_Code" append.m_exp3 = "@Inventory->Stock_Code" append.m_field4 = "Description" append.m_exp4 = "@Inventory->Description" append.m_field5 = "Condition" append.m_exp5 = "@Inventory->Condition" append.m_field6 = "Location" append.m_exp6 = "@Inventory->Location" append.m_field7 = "Notes" append.m_exp7 = "@Inventory->Notes" append.m_field8 = "Accessories" append.m_exp8 = "@Inventory->Accessories" append.t_count = 0 a_tbl.append() GOTO CONTINUE23102008165318187 ERROR23102008165318187: ON ERROR GOTO 0 error_generate("Error running Append Operation"+crlf()+error_text_get()) END CONTINUE23102008165318187: a_tbl.close()
Comment