<!-- #include file ="..\crmwizard.js" --> <% eWare.SetContext("Find"); if (eWare.Mode<Edit) eWare.Mode=Edit; searchContainer=eWare.GetBlock("container"); searchContainer.ButtonTitle="Search"; searchContainer.ButtonImage="Search.gif"; TabBlock="Test Screen"; EntryGroup=eWare.GetBlock("Person_Screen"); ListGroup=eWare.GetBlock("Person_List"); searchContainer.AddBlock(EntryGroup); searchContainer.AddBlock(ListGroup);
if ( !Defined(EntryGroup.RecordCount) || (EntryGroup.RecordCount > 0)) { eWare.AddContent(searchContainer.Execute(EntryGroup)); } else { eWare.AddContent(searchContainer.Execute()); } UserId = eWare.GetContextInfo("User", "user_userid"); var nolockstable = "Person"; var nolocks = eWare.CreateQueryObj("DELETE FROM Locks WHERE Lock_TableId =" + " (SELECT bord_tableid" + " FROM Custom_Tables" + " WHERE bord_name='" + nolockstable + "')" + " AND Lock_CreatedBy = " + UserId); nolocks.ExecSql(); //writing that into asp.page Response.Write(eWare.GetPage(TabBlock)); %>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)