N
Nick T
Hi,
I have a form, which some text boxes get their information from a table.
Other text boxes have information inputted into them using buttons on the
form.
When a new record is added, the form automatically inserts a date & time
into 'textbox A'.
'Textbox B' has the number '5' in it as this text box looks information up
in a table.
Now, i want 'Textbox C' to add '5' to the month detaied in 'TextBox A'
Eg, if TextBox A says '01.05.08 hh:mm:ss' TextBox C will detail '01.10.08
hh:mm:ss'
In the control source of TextBox C, i have tried = [TextBoxA]+[TextBoxB],
however this doesnt return the desired value for obvious reasons.
In addition to this, i want the end value of TextBox C to be recorded in a
specified table, which again, i cant do if i put the = [TextBoxA]+[TextBoxB]
into the control source.
Maybe to help explain, i want to do this in order to automatically display &
record the best before date of a product - which in this example is 5 months
after the date of the record being added.
Any suggestions??
Thanks
I have a form, which some text boxes get their information from a table.
Other text boxes have information inputted into them using buttons on the
form.
When a new record is added, the form automatically inserts a date & time
into 'textbox A'.
'Textbox B' has the number '5' in it as this text box looks information up
in a table.
Now, i want 'Textbox C' to add '5' to the month detaied in 'TextBox A'
Eg, if TextBox A says '01.05.08 hh:mm:ss' TextBox C will detail '01.10.08
hh:mm:ss'
In the control source of TextBox C, i have tried = [TextBoxA]+[TextBoxB],
however this doesnt return the desired value for obvious reasons.
In addition to this, i want the end value of TextBox C to be recorded in a
specified table, which again, i cant do if i put the = [TextBoxA]+[TextBoxB]
into the control source.
Maybe to help explain, i want to do this in order to automatically display &
record the best before date of a product - which in this example is 5 months
after the date of the record being added.
Any suggestions??
Thanks