wood burning stoves*
The moose likes Beginning Java and the fly likes Doing a vlookup in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Doing a vlookup in java" Watch "Doing a vlookup in java" New topic
Author

Doing a vlookup in java

Sue Aside
Greenhorn

Joined: Jan 11, 2010
Posts: 2



I am having problem with my program what I am trying to do is to something similar to a vlookup in excel that is compare the value of checkItem and return the corresponding itemDesc. the code works well if a valid item is entered but i am not getting the desired result for when and invalid item code is entered.

Help
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

In the if-statement you use an assignment .


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Sue Aside
Greenhorn

Joined: Jan 11, 2010
Posts: 2
thanks I will try this
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doing a vlookup in java
 
Similar Threads
Quicksort in java
problem in prime numbers using an array
problematic run-time errors
Help in Linear Search
printing message