Re: Manipulation of strings query
From: StressedMonkey (miguel_at_stressedmonkey.net-nospam)
Date: 03/09/04
- Next message: Lisa: "Keep the value selected in the dropdown field"
- Previous message: Bob Barrows: "Re: Manipulation of strings query"
- In reply to: StressedMonkey: "Manipulation of strings query"
- Next in thread: Bob Barrows [MVP]: "Re: Manipulation of strings query"
- Reply: Bob Barrows [MVP]: "Re: Manipulation of strings query"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 9 Mar 2004 13:05:54 -0000
Hi Bob,
The DB is Oracle 8i I think.
I have received the data in an excel spreadsheet which contains the names in
the LASTNAME, FIRSTNAME format and was going to just import it into a table
in the DB. I don't know any way of getting excel to split a cell into 2 so
that I could enter it as 2 fields in a database and I'm certainly not doint
it manually as there are about 2000 rows!
The problem with the string input is that users will not be entering the
data on a form as such, the application performs an LDAP query agains a last
name that they enter. The query then returns the names in the Firstname
(Space) Lastname format............
Cheers.
Miguel.
"StressedMonkey" <miguel@stressedmonkey.net-nospam> wrote in message
news:404db232$0$14400$cc9e4d1f@news.dial.pipex.com...
> Hi,
>
> I'm not too hot on my manipulation of strings. I have a database which
> cintains names in the format (Upper case also) LASTNAME, FIRSTNAME
>
> I want to search against that database, but the data on the form to
produce
> the string will be input in the following format:
>
> Firstname Lastname
>
> So I will need to convert this string in the following ways:
>
> 1. Make all uppercase
> 2. Reverse the position of Firstname & Lastname
> 3. Add a comma and space between Lastname & Firstname
>
> Basically, so that the string looks exactly as the names will in the
> database.
>
> Are there any Maestro's out there that can help me with some code to
achieve
> this?
>
> Thanks.
>
> Miguel.
>
>
- Next message: Lisa: "Keep the value selected in the dropdown field"
- Previous message: Bob Barrows: "Re: Manipulation of strings query"
- In reply to: StressedMonkey: "Manipulation of strings query"
- Next in thread: Bob Barrows [MVP]: "Re: Manipulation of strings query"
- Reply: Bob Barrows [MVP]: "Re: Manipulation of strings query"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|