can anybody tell me how you go about converting a long to string to allow for the below to run. i've tried the following but its complaining about incompatible type long Complainantidnum =String.valueOf(request.getParameter("txtidnum"));
That wasn't what I was saying. String.valueOf() returns a String, but you are trying to assign it to a long. That's what's giving the error. What exactly are you trying to do ?
Sorry Alex. I thought your message was from the OP and was a response to my previous one. Having re-read the entire post I can see you were actually replying to the OP.