Hello umif,
quote from above: Important information for almost every question:
V1: Which Visforms version is running?
V2: Which Joomla version is running?
V3: Which PHP version is running?
The SQL statement mentioned is incorrect and contains two errors.
To quickly obtain more detailed information about possible errors, you can execute the SQL statement in a dedicated SQL editor.
Such as phpMyAdmin or another SQL development environment.
Visforms, of course, cannot perform this precise analysis.
SQL statement:
Code:
SELECT DISTINCT `F85` as value,`F85` as label FROM `jos4_visforms_10` WHERE `F81` in OR `F82` in ORDER BY `F81`ASC, `F82`ASC
Error 1:
The list of values is missing after the keyword 'in'.
Error 2:
The list of values is missing after the keyword 'in'.
The SQL IN Operator:
www.w3schools.com/sql/sql_in.asp
Code:
SELECT * FROM Customers WHERE Country IN ('Germany', 'France', 'UK');
Question:
It's possible that you're using a Visforms parameter in the SQL statement and something's wrong.
Does the SQL statement exactly match the SQL statement from the field configuration?
Best regards, Ingmar