Ashfaque
Search Beautiful Girls from your town for night
- Local time
- Today, 14:04
- Joined
- Sep 6, 2004
- Messages
- 897
I placed a text box called TxtTotSo on sales order form F_SOHeader to see number of purchase orders I processed on a particular date.
The below code I need to work on after update event of a combo box that displays customercode and brings po details of a particular customer with Sales Order Date (SODate)
TxtTotSo = DCount("*", "T_SOHeader", _
"[CustomerName] = '" & CustomerName & _
"' AND [SODate] = #" & SODate & "#")
After complilation, looks good without error but doesnt show result in TxtTotSo box after event executed.
SODate & CustomerName are the same field names on form and table.
Whats wrong here? Any help.......
Regards,
Ashfaque
The below code I need to work on after update event of a combo box that displays customercode and brings po details of a particular customer with Sales Order Date (SODate)
TxtTotSo = DCount("*", "T_SOHeader", _
"[CustomerName] = '" & CustomerName & _
"' AND [SODate] = #" & SODate & "#")
After complilation, looks good without error but doesnt show result in TxtTotSo box after event executed.
SODate & CustomerName are the same field names on form and table.
Whats wrong here? Any help.......
Regards,
Ashfaque
Last edited: