Hello,
very new to vba, i have a data base that contains CLIENT ORDERS TABLE and a CLIENT ORDERS FORM that feeds this table, in this table i have a YES/NO field for payment status, yes = paid order.
i also created a CLIENT DEBTS QUERY that shows qlients that have a debt based on the YES/NO field.
when filling the form, there is a lookup column that let you choose the client, what i want to do is create a pop up message that pops when client chosen have an unpaid order.
1) what will be the right event for this procedure?
2) do i need to use the query for this or should i write a code that compare the value to the table directly?
3) if anyone can help me with a sample code for this procedure since i have no idea when to start, i'll appreciate it
Thanks!!!
very new to vba, i have a data base that contains CLIENT ORDERS TABLE and a CLIENT ORDERS FORM that feeds this table, in this table i have a YES/NO field for payment status, yes = paid order.
i also created a CLIENT DEBTS QUERY that shows qlients that have a debt based on the YES/NO field.
when filling the form, there is a lookup column that let you choose the client, what i want to do is create a pop up message that pops when client chosen have an unpaid order.
1) what will be the right event for this procedure?
2) do i need to use the query for this or should i write a code that compare the value to the table directly?
3) if anyone can help me with a sample code for this procedure since i have no idea when to start, i'll appreciate it
Thanks!!!
