Tanx dave, Yes that is where the problem was i should have been initializing the Yvalue as follows: Yvalue = RecP->DBPulseValue;
thank you again from a foolish student :-) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
