I'm working on a form in a VB6 application. I have a question if anyone can help.
if i create a function like this...
Public Function CheckUser(userID as integer) as boolean
CheckUser = False
'do stuff here
CheckUser = True
Exit Function
I'm calling this function from another procedure (same form) - can i use the Checkuser boolean value throughout the form, or is it only for this procedure? Basically I'm trying to return a boolean value back to my procedure after running this function - and don't really want to declare a new modular variable and go that way. Trying to keep it neat.