2nd Lookup Parameter December 23, 2019, 02:03:34 PM Dear Support,Why the use of a second lookup parameter not working? Please see the attachment.However, replacing the second lookup parameter with a string value makes everything OK. Please advise if there is a proper way to do it.Thanks. Quote Selected
Re: 2nd Lookup Parameter Reply #1 – December 25, 2019, 10:37:33 AM @pinoyhandy 1. please make sure the variable is globally accessible.2. var_dump() the variable to make sure it has data in it. Quote Selected
Re: 2nd Lookup Parameter Reply #2 – December 30, 2020, 03:00:19 PM Hi everyone, I reopen this discussion because I've encoutered the same issue of @pinoyhandy and the answer is not enough.Seems that phprad correctly manage only ONE parameter. It doesn't matter if I do a lookup on one given parameter or the other one inside a form, or even if I exchange the lookup order: the lookup happen always only for the first parameter. and not for a second one.Checkout the screenshot:https://i.postimg.cc/90g8J7hS/Cattura.pngHow can I do this?Both parameters are already globally accessible and the variable is filled with the correct value.Thank you in advance for any reply. Quote Selected
Re: 2nd Lookup Parameter Reply #3 – December 30, 2020, 04:00:05 PM Did you try adding single quotes around them? Quote Selected
Re: 2nd Lookup Parameter Reply #4 – December 30, 2020, 04:06:58 PM Quote from: Erwin – December 30, 2020, 04:00:05 PMDid you try adding single quotes around them?Excuse me, thank you for your reply, but if any of the two parameters are used singularly everything works, it's not a syntax problem. Quote Selected Last Edit: December 30, 2020, 04:25:26 PM by timetraveler
Re: 2nd Lookup Parameter Reply #5 – January 04, 2021, 11:17:55 AM I see that the program don't allow at all the use of more than one dropdown select param from the "Dynamic select lookup" selection. And even if it is possible to manually adding more $lookup_columnName params in the "Custom SQL" section it don't work.This is really a big lack for PHPrad.I don't think it's so rare for developers to create query that involves more than a single parameter.I'm obliged to insert manually the code in order to do this...Please, if I'm searching this option on the wrong place, let me see how I can make this without manually editing the code.(yes, I also tried inserting single quotes but nothing changed) Quote Selected Last Edit: January 04, 2021, 11:23:08 AM by timetraveler