I’m trying to utilize “text-autocomplete” but am not having much luck.
I note that when I try to define a field as autocomplete, I am prompted to complete the lookup settings.
The field is VARCHAR title
in the same table as the form. The table is named tblpersons
I have tried
SELECT title
, title
FROM tblpersons
ORDER BY title
and
SELECT title
FROM tblpersons
ORDER BY title
neither of which work.
What;s worse that when I type in the field value and save the record, the field is not saved and returns to blank (empty). Without “text-autocomplete” the field works fine.
I have tried adding DISTINCTROW and DISTINCT, but that causes a code generation error,
Also, the help file document seems wrong as it refers to some earlier version of SC. The properties it mentions are not visible in SC8.1.
Any help here?
Cheers