( |
|
|
|||
Read first record by main key from register according conditions, returns false if it is not possible to find record |
Parameters: | |
Record | |
Number of used fields in index (for complex indexes) | |
true=exact match, false=most similar | |
global procedure GetUserName(String i,var String ret) Begin record UserVc Userr; Userr.Code = i; ret = ""; if ReadFirstMain(Userr,1,true) then begin ret = Userr.Name; end; return; End;
Related topics: |