Færdiggjort

customized function using or needed

What I need is a function that will return information in this type of way.

First Example:

artist=5 or artist=10 and artistid=id

would be converted to this

(artist=5 or artist=10) and artistid=id

Second Example:

artistid=id and artist=5 or artist=10

would be converted to this

artistid=id and (artist=5 or artist=10)

Third Example:

song=5 and artist=5 or artist=10 and artistid=id and style=1 or style=2

would be converted to this

song=5 and (artist=5 or artist=10) and artist=id and (style=1 or style=2)

Fourth Example:

song=5 and (artist=5 or artist=10) and artist=id and style=1 or style=2

would be converted to this

song=5 and (artist=5 or artist=10) and artist=id and (style=1 or style=2)

The purpose of this is to use this in a SQL Statement to make sure that any or statements are in addition to the other statements. Must be done in VB. Should be something like this

public function convertor(statement as string) as string

convertor=newinfo

end function

Let me know if you have any questions.

## Deliverables

The source code only for the function to convert an or statement so everything the or contains are in (). If they are already in (), then leave it alone.

## Platform

Windows 2000, Windows 98, Windows XP Home Edition.

Evner: Ingeniørarbejde, Microsoft, MySQL, PHP, Software Arkitektur, Software Testning, Visual Basic, Windows Skrivebord

Se mere: the second song, 10 second song, visual artist, statement for purpose, sql convert string function, code convertor, purpose statement, statements know, string function, convert code visual basic php, using something, visual basic song, visual basic code convert php, vb song, vb function php, vb convertor, statement purpose, convert type vb, convert php vb vb to php visual basic to php, convertor visual

Om arbejdsgiveren:
( 781 bedømmelser ) Sydney, Australia

Projekt ID: #3432835

Tildelt til:

                                                    aniakasha
                                                's Profile Picture"                                                    >
                                                </a>
                                            </figure>
                                        </div>
                                        <div class=
aniakasha

See private message.

$3 USD på 1 dag
(28 bedømmelser)
3.7

7 freelancere byder i gennemsnit $18 på dette job

sergruch

See private message.

$42.5 USD på 1 dag
(84 bedømmelser)
5.5
cyrilguptatt

See private message.

$17 USD på 1 dag
(45 bedømmelser)
4.9
denasvw

See private message.

$8.5 USD på 1 dag
(83 bedømmelser)
4.3
mekhu

See private message.

$12.75 USD på 1 dag
(12 bedømmelser)
2.9
gabe0069

See private message.

$17 USD på 1 dag
(7 bedømmelser)
2.4
thevbcoder

See private message.

$23.8 USD på 1 dag
(4 bedømmelser)
0.8