G
Guest
I am using Access.adp. My question is:
In my form i have text box 'txtNotes' and button 'cmdAdd',
On click I have code;
----------------------
Dim strDate as String
Dim strNotes as string
strDate = Format(Now, "MM/DD/YYYY")
strNotes = txtNotes
txtNotes = strNotes & " " & strDate
--------------------------
The problem is, if i have 6 rows in me text box and i click on button, it
will add date but it will remove first 4 rows from text box.
If any body now what i am doing wrong please let me know.
Thank you.
The form source base on View. Data type for txtNotes is 'varchar', length
'6000'
In my form i have text box 'txtNotes' and button 'cmdAdd',
On click I have code;
----------------------
Dim strDate as String
Dim strNotes as string
strDate = Format(Now, "MM/DD/YYYY")
strNotes = txtNotes
txtNotes = strNotes & " " & strDate
--------------------------
The problem is, if i have 6 rows in me text box and i click on button, it
will add date but it will remove first 4 rows from text box.
If any body now what i am doing wrong please let me know.
Thank you.
The form source base on View. Data type for txtNotes is 'varchar', length
'6000'