I Create a list with this query:
SELECT lastname, (lastname+', '+firstname) AS NAME
This results in a name correctly formated as Doe, John
It displays as a hyperlink:
<cfcol header="Name" text="<A HREF=owner.cfm?name=#name#>#name#</a>">
Clicking brings up the owner.cfm page, which gets info from a table in which the name field is a single entry with data as "Doe, John" Not split into first and last name
BUT, the address URL shows "...../owner.cfm?name=Doe," (no quotes)
It truncates at the "space" following the "Doe," so does not find any matching records.
SELECT name
from inventory
where name = '#name#'
Any idea how to get the #name# to carry all the value, not just the part to the left of the space character?
Any help is appreciated
SELECT lastname, (lastname+', '+firstname) AS NAME
This results in a name correctly formated as Doe, John
It displays as a hyperlink:
<cfcol header="Name" text="<A HREF=owner.cfm?name=#name#>#name#</a>">
Clicking brings up the owner.cfm page, which gets info from a table in which the name field is a single entry with data as "Doe, John" Not split into first and last name
BUT, the address URL shows "...../owner.cfm?name=Doe," (no quotes)
It truncates at the "space" following the "Doe," so does not find any matching records.
SELECT name
from inventory
where name = '#name#'
Any idea how to get the #name# to carry all the value, not just the part to the left of the space character?
Any help is appreciated