Form: FrmCO
Table: COs
Table:
| PM | SITE | COTotal | CONum |
B. Smith 7-0121 $14,000 01
I have a field on the form (CON) I would like to look at the table and see if there is a CONum for that site when that site is selected on a combo box (Site), and if not start at 01, and if there is a record or records there to see what the last number is and add 1 to the CONum.
I'm not sure how to write this Dmax command.. =(
Hope that makes sense and someone could throw me a bone on this simple question. Thanks!
Table: COs
Table:
| PM | SITE | COTotal | CONum |
B. Smith 7-0121 $14,000 01
I have a field on the form (CON) I would like to look at the table and see if there is a CONum for that site when that site is selected on a combo box (Site), and if not start at 01, and if there is a record or records there to see what the last number is and add 1 to the CONum.
I'm not sure how to write this Dmax command.. =(
Hope that makes sense and someone could throw me a bone on this simple question. Thanks!