PDA

Click to See Complete Forum and Search --> : Need Help on a REALLY frustrating problem


Jhaiisiin
Jan 27th, 2000, 03:47 AM
I'm helping out a friend of mine in writing a VB program. Purpose of program: Track the times of phone calls from different depts, and keep an average of those times, as well as if the caller is transfered at the end of the call or not.

Everything is going good except we want to be able to remove the last call entered if we accidentally add a call to the wrong dept. Just how do we do this?

Assuming there is only 1 call available, we keep getting a divide by 0 error when we try to remove it.
Any and all help will be appreciated. Thanx

XinMan
Jan 27th, 2000, 06:49 AM
I'm not sure what the problem is but it might help if you tell us how you are storing the data and stuff. Give more details.

XinMan

Jhaiisiin
Jan 29th, 2000, 06:34 AM
Being that my friend is the actual programmer, I'll let him fill you in...

idiotboy
Jan 29th, 2000, 06:42 AM
I am currently storing the data in labels that i have hidden. if you know of an easier way of storing the data, let me know. i have tried a few things to get it to work, but to no avail.

Bob Baddeley
Jan 29th, 2000, 07:51 AM
gah! labels? I think you'd be better off with list boxes and a text file. Perhaps write each call to the text file and also write each one to the list box. That makes things a lot easier. It should also take care of the other problems you're having. If you need further help, post or email me.

bob