C
Curtis Stevens
I got:
Form A – points to customers table
Form B – points to merchants table
B is in A and I have a command in B with the following code:
Me.MerchantDOB = IIf(Format(Me.MerchantDOB, "mm/dd") <= Format(Date,
"mm/dd"), CDate(Year(Date) + 1 & "/" & Month(Me.MerchantDOB) & "/" &
Day(Me.MerchantDOB)), CDate(Year(Date) & "/" & Month(Me.MerchantDOB) & "/" &
Day(Me.MerchantDOB)))
It works, which I have the form tied to the same table that A uses using the
main key, customerID, what I link all my tables together with.
The problem is if I have more than ONE record in that Merchant table that is
associated with the same customerID in customer’s table, it doesn't change
both, just the first one. Like if you have two owners in a business (what
the merchant table is all about)
What do I need to change in the code to fix it?
Thanks
Curtis
Form A – points to customers table
Form B – points to merchants table
B is in A and I have a command in B with the following code:
Me.MerchantDOB = IIf(Format(Me.MerchantDOB, "mm/dd") <= Format(Date,
"mm/dd"), CDate(Year(Date) + 1 & "/" & Month(Me.MerchantDOB) & "/" &
Day(Me.MerchantDOB)), CDate(Year(Date) & "/" & Month(Me.MerchantDOB) & "/" &
Day(Me.MerchantDOB)))
It works, which I have the form tied to the same table that A uses using the
main key, customerID, what I link all my tables together with.
The problem is if I have more than ONE record in that Merchant table that is
associated with the same customerID in customer’s table, it doesn't change
both, just the first one. Like if you have two owners in a business (what
the merchant table is all about)
What do I need to change in the code to fix it?
Thanks
Curtis