Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with INSTR

Status
Not open for further replies.

KPBurke

Programmer
Sep 28, 2001
3
GB
Nice easy one for you all ;)

Can't get this to work :-

vehicledescription=request("vehicledescription")

Prestige = Instr("ASTON MARTIN, BMW, FERRARI, MERCEDES, PORSCHE, VOLVO", vehicledescription)

It does work if I replace vehicledescription with "BMW" as here :-

Prestige = Instr("ASTON MARTIN, BMW, FERRARI, MERCEDES, PORSCHE, VOLVO", "BMW")
 
Hi,

try this:

vehicledescription = CStr(Request("vehicledescription"))

Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top