Access 2010
On Form among several fields, four fields (PayDate, Time, PaidTo, and PaidFor) have the following procedures Before Update Event.
If Not IsNull(Me.PayDate.Value) Then
PayDate.DefaultValue = "#" & Me.PayDate & "#"
End If
"To save space I just typed the first procedure."
And I have Button on the form with Embedded Macro:
OpenForm
Form Name SData
View Form
Filter Name
Where Condition
Data Mode Add
Window Mode Normal
Problem is when I open a new form in add mode with this button all four fields already have data that I could not find them in all relate tables and quires to this form.
How can I prevent this problem?
Posted by: kenaf42@yahoo.com
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (1) |
Tidak ada komentar:
Posting Komentar