General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Thanks. I was thinking there is a 'SQLish' way (faking out thing with like or whatever), but I guess not. Your solution is right on the money! :)
>You'll have to extract last name from cPerson first and than use it in your select
>
>cLastName = Trim(Left(cPerson, AT(",", cPerson) -1) )
>
>select assoc_id , lastname from timeuser where lastname = cLastName
>
>
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only