F
feorges
Hi,
on an access2003 form , i've followed problem In a module i calculate the
age of a person. When he is less then one year i will see the months. In a
module i've made a function which works properly; in the test window i can
see the months as eg 0,03 means 3 months. when the person is older than one
year i can see the years only eg 1 or older.
on my form i use the function in a independed textfield , but the result is
always "-1" when the person is less then one year. The result of the
function is a string.
' public function(DOBdate as date,date2 as date) as string
i already changed the result of the function into a double, without success.
How can i see in my independed textfield the notation 0,03 whe the person is
three months ?
grtz, Georg
on an access2003 form , i've followed problem In a module i calculate the
age of a person. When he is less then one year i will see the months. In a
module i've made a function which works properly; in the test window i can
see the months as eg 0,03 means 3 months. when the person is older than one
year i can see the years only eg 1 or older.
on my form i use the function in a independed textfield , but the result is
always "-1" when the person is less then one year. The result of the
function is a string.
' public function(DOBdate as date,date2 as date) as string
i already changed the result of the function into a double, without success.
How can i see in my independed textfield the notation 0,03 whe the person is
three months ?
grtz, Georg