Waheed2008
Registered User.
- Local time
- Tomorrow, 02:10
- Joined
- Jul 17, 2008
- Messages
- 57
Hi all,
I need some help in making a check on a form. The situation is that a company get invoices and these need to be maintained into a database. For that I have made a table with fields:
On the bases of this table, I have designed a form having all the above fields. Now I want that if a person try to make a duplicate entry of same invoice received, by mistake, this form recognize this entry and prompt the user. The decision would be on the bases of From & InvoiceNo. No two entries will have same From & InvoiceNo.
What can be the way to apply this check? Or is there any way to work around?
By the way, ID is PK.
Thanks in anticipation
I need some help in making a check on a form. The situation is that a company get invoices and these need to be maintained into a database. For that I have made a table with fields:
ID, Code, From, InvoiceNo, Date, Amount, Status
On the bases of this table, I have designed a form having all the above fields. Now I want that if a person try to make a duplicate entry of same invoice received, by mistake, this form recognize this entry and prompt the user. The decision would be on the bases of From & InvoiceNo. No two entries will have same From & InvoiceNo.
What can be the way to apply this check? Or is there any way to work around?
By the way, ID is PK.
Thanks in anticipation
Last edited: