Question: foxpro for windows 2.6, i got error,'divide by zero or overflow error' can u give me solution please ? thanks The foxpro is running properly with that application, while i m printing reports, that time only i used to get that above error

Answer: the error occurs if there is any of your report calculation is divide by zero. for eg. you have a salary field (eg.5000) and you are calculating salary for for day. so in your report you will give like salary/30 . this will work fine if the salary fiels is having value grater than zero. if the salary value is zero in the database then this error will occur. so check your database. also if the result is grater than the field length , this error will occur. check both and reply. \nHappy programming.
This question from the Yahoo Q&A forum is categorized in the topic: Science & Mathematics