Hi Bruce and Nettalks gurus,
I use Nettalk 5.37 and I have a sittuation on a complex NetWebForm where entry fields(Strings) are conditional lookups. To avoid entry mistakes we have readOnly String fields which the user have to fill (For Filling We Provide Lookup) and if you add a lookup to that field nothing happens because the generated text by template is:
if not loc:viewonly and not loc:readonly
loc:fieldclass = ''
packet = clip(packet) & p_web.CreateStdButton('submit',Net:Web:LookupButton,loc:formname,p_web._MakeURL('XEnterprise?LookupField=auxEnterprise&Tab=1&ForeignField=Con:companyname1&_sort=&Refresh=sort'),,,,,loc:fieldclass)
End
If I remove the readonly then it is all good.
If it is not possible to use string/readonly+lookup , I Could use the single buttone for that, but can someone post an example of code for use "LookupProcedure" on a simple button when you click it opens popup o single page and then returns the selection to the desired field?
Thank you for tips...