There is a sticky that says when asking about errors always post the code. We can't see what the error is unless you post your code. We are not mind readers.