Full Version: Function Help
UtterAccess Forums > Microsoft® Access > Access Forms
access2009eg
Dear programmer
Odon’t understand function I read some books about function. But I can’t get it
My question is:
(1) I want get real access 2003 function example.
(2) I want pass argument to the function using text box or input box.
(3) Can you please write this example for me: so I can understand the argument and the function return value
Example:
Public Myfunction (argument here) as data type
- Pass Number to the function>>>Function give me(return) text
- Pass Number to the function>>> Function give me (return) date
- Pass text to the function >>> Function give me (return) Number
- Pass Text to the function >>> Function give me (return) Date
- Pass Date to the function >>> Function give me (return) Number
- Pass Date to the function >>> Function give me (return) text
Please give me an easy example :
HiTechCoach
#1)
CODE
Public Myfunction (pMyVal as Long) as String
  Myfunction = Str(pMyVal)
End Funciton
This is a "lo-fi" version of UA. To view the full version with more information, formatting and images, please click here.