|
-
Dec 23rd, 2002, 11:11 AM
#3
Lively Member
Not certain if this is exactly what you want to do, but...
VB Code:
'Assuming some data input loop
Do While blnCondition
'Do something
intCount = intCount + 1
If intCount = 45000 Then Err.Raise 6
Loop
This will raise the Overflow error on the occurrance of the 45,000th input entry.
tecnithV -- artisan, artificer, workman, mechanic, architect, or builder
VB6, ASP, HTML, XML, Oracle, Access, MySql, PHP, C++, Etc...
To format your VB code in this forum use tags like this [vbcode] your code here[/vbcode]
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
|