Joshua61679
Technical User
Ok, this one is way over my head,
I have a job form and a callsheet form, both connected to tables. The key for the callsheet table is a combination of three fields: Customer, Lease, and Callsheet#. I have text boxes on the job form for Customer and Lease. When I hit a command button on the job form, I need it to search callsheet for Customer and Lease, and if there is not a matching record set, then to create a new record, making the Callsheet# "1". If there is a matching record(s), then I need Callsheet# to incrament to the next number. I've got Customer and Lease moving to the new form, but the search and incrament is killing me. Any ideas?
Thanks.
Joshua R. Coffee
I have a job form and a callsheet form, both connected to tables. The key for the callsheet table is a combination of three fields: Customer, Lease, and Callsheet#. I have text boxes on the job form for Customer and Lease. When I hit a command button on the job form, I need it to search callsheet for Customer and Lease, and if there is not a matching record set, then to create a new record, making the Callsheet# "1". If there is a matching record(s), then I need Callsheet# to incrament to the next number. I've got Customer and Lease moving to the new form, but the search and incrament is killing me. Any ideas?
Thanks.
Joshua R. Coffee