D
DevArrah
I'm having a problem with a control in access 2000.
I have two textboxes on a form called start and length
In the controlSource of a third textbox I have =[start]+Year[length]
The problem is when I enter data into the field I get nutty results.
After literal hours tooling around with I finally tried setting the
controlSource to =Year([length])
Then when I played with the form get these results (result as number
formatted as a general number)
entered into length Result
0 1899
1 1900
2 1900
3 1900
All i want to do is to have a text that automatically adds 'length'
years to the start date. What on god's green earth am I doing wrong? Any
semi-logical reason why I get the results that I do?
I admit this is the first time I'm i've done any extensive fooling
around in access but for the life of me I don't understand why the same
calculation works in a query but not in the control.
I have two textboxes on a form called start and length
In the controlSource of a third textbox I have =[start]+Year[length]
The problem is when I enter data into the field I get nutty results.
After literal hours tooling around with I finally tried setting the
controlSource to =Year([length])
Then when I played with the form get these results (result as number
formatted as a general number)
entered into length Result
0 1899
1 1900
2 1900
3 1900
All i want to do is to have a text that automatically adds 'length'
years to the start date. What on god's green earth am I doing wrong? Any
semi-logical reason why I get the results that I do?
I admit this is the first time I'm i've done any extensive fooling
around in access but for the life of me I don't understand why the same
calculation works in a query but not in the control.