borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Next Topic (intelligent people help me) New Topic New Poll Post Reply
AndreaVB Forum : VB.Net : max statement in vb.net
Poster Message
kalboako1987
Level: Trainee

Registered: 14-11-2007
Posts: 3

icon max statement in vb.net

guy, do you know the Max statement in visual basic.net?

i mean find the highest value of enrollment id that is equals to idno typed... please paste the format..

thank you.... my life rely on it..pls......

16-11-2007 at 03:22 PM
View Profile Send Email to User Show All Posts | Quote Reply
yronium
Level: Moderator


Registered: 14-04-2002
Posts: 911
icon Re: max statement in vb.net

Hello. Just hitting the Search button you'd find this old post in which is stated that i's not difficult to build our own.
The logic is:
Dim MaxNum
Loop all the numbers
If current number > MaxNum Then MaxNum = current number
Next number
At the end, read MaxNum.
Hope it helps.

____________________________
Real Programmer can count up to 1024 on his fingers

16-11-2007 at 07:50 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VB.Net : max statement in vb.net
Next Topic (intelligent people help me) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder