|
-
August 21st, 1999, 08:50 PM
#1
Call statements
I am a beginner programmer. I a working on a project for a night class where I have to calculate monthly mortgage payments and interest paid via given formulas. I am using the Call function for the formulas. If bad data is supplied the user should be informed. How do you do this with Call functions? In my Private Sub statements for example I have:
Let p = Val(txtLoan.Text)
Wouldn't the program know that only numbers can be entered here? This is where I am confused. How is the user informed if anything other than bad data is input? Also I am getting a Runtime error "Overflow" and the debug shows the formula highlighted.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|