G
Guest
Hello
I felt like I had to rephrase the subject of my question in my desperation for answer
I need to link the field from my Form to the field in the Table. It is not linked now because I changed the control source of the field and added DateAdd expression to the field, and now the field in the Form is not linked to the underlying field in the Table
In the From
Field Name: 5500 Du
Control Source: =DateAdd("m",7,[PYE]) - (changed from the original control source: 5500 Due
Basically the DateAdd expression adds 7 months to the date entered in the PYE field in the Form, which is what I need but the new value is not stored in the Table: Plan Filing, Field: 5500 Du
The table where data should be stored
Table Name: Plan Filin
Field Name: 5500 Du
I was trying to add the following in the VB
Private Sub Ctl5500_Due_AfterUpdate(
Me.DateAdd("m", 7, [PYE]) = Me.Ctl5500_Du
...but this is not working...
....can you help...I am lost...
BIG THANKS
Natali
Print | Copy URL of this post
.. .
Manage Your Profil
I felt like I had to rephrase the subject of my question in my desperation for answer
I need to link the field from my Form to the field in the Table. It is not linked now because I changed the control source of the field and added DateAdd expression to the field, and now the field in the Form is not linked to the underlying field in the Table
In the From
Field Name: 5500 Du
Control Source: =DateAdd("m",7,[PYE]) - (changed from the original control source: 5500 Due
Basically the DateAdd expression adds 7 months to the date entered in the PYE field in the Form, which is what I need but the new value is not stored in the Table: Plan Filing, Field: 5500 Du
The table where data should be stored
Table Name: Plan Filin
Field Name: 5500 Du
I was trying to add the following in the VB
Private Sub Ctl5500_Due_AfterUpdate(
Me.DateAdd("m", 7, [PYE]) = Me.Ctl5500_Du
...but this is not working...
....can you help...I am lost...
BIG THANKS
Natali
Print | Copy URL of this post
.. .
Manage Your Profil