By default, when selecting a record searched with a dynamic lookup, the reference field ( DESCRIPTION for example ) will be displayed in the "DBEDIT" that originated the search.


Ex: edLkpCLIENTES


[[

NOME codicli ||

]]


If you are using the "lkpfilter-searchfield:" attribute or using the function in the click event:


dm_rc.rc_LookUpSearchFilter( Sender, '', '', 'fone1;email;' );


you can display one of the secondary fields in place of the main field, which in the example would be "DESCRIPTION" using the "getsearchfield" attribute.


Ex: 

[[

NOME codicli ||

getsearchfield:email

]]

Created with the Personal Edition of HelpNDoc: Free iPhone documentation generator