====== List_User_Locks ====== ==== Description ==== List_User_Locks can be launched as a window to display a table of record locks and optionally allow release of record locks. List_User_Locks can also be called as a function to return a list of locked records if you prefer to create a custom display. ==== Syntax ==== call start_window(**"LIST_USER_LOCKS"**,parent, bAllowUnlock) or list = **List_User_Locks**() ==== Parameters ==== Launch the list_User_locks window with following parameters. ^Parameter^Description^ |//parent//|Owner window| |//bAllowUnlock//|pass 1 to allow users to unlock records. Defaults to zero| \\ \\ \\ Returns a row for each locked record, where each row has five columns, //table//, //key//, //ComputerName//, //Location//, //OsFile// When called as a function, list_user_locks takes no parameters ==== Example ==== * Launch the window, allowing the user to unlock records parent = @window allowUnlock = true$ call start_Window('LIST_USER_LOCKS', parent, allowUnlock) * Call as a function declare function List_User_locks lock_info = List_User_Locks()