Choice Options property SQL
Posted: Wed May 30, 2012 3:10 pm
Is this a valid value for the choice options property for a database driven auto-complete?
AAAGT# || ' - ' || (SELECT AGNAME FROM WMAGP WHERE AGCO# = AACO# AND AGFEIN = AAFEIN AND AGMOD = AAMOD)
all are fields above except for WMAGP which is a file.
The idea is i want to populate my autocomplete with "Agent# - Agent Name" value. The agent name coming from a different file (one that does not have agent #, but rather links to agent # via their FEIN and MOD values).
AAAGT# || ' - ' || (SELECT AGNAME FROM WMAGP WHERE AGCO# = AACO# AND AGFEIN = AAFEIN AND AGMOD = AAMOD)
all are fields above except for WMAGP which is a file.
The idea is i want to populate my autocomplete with "Agent# - Agent Name" value. The agent name coming from a different file (one that does not have agent #, but rather links to agent # via their FEIN and MOD values).