HI,
I have one table called transaction where in i am storing transaction.
There are different customer for different type of journals subscription.
We have journals subscription start date and end date in same transaction table.
What is need is while in entry as soon as users select subscription start date it should first check whether customer is already there in the table if not then let him enter data and if customer already exists then it should check with journal name if it no then let him enter data and if journal name exists it should check the subscription end date and compare it with forms subscription start date and start date is greater then the end date of find record then let him enter data or other wise popup message that record already exists.
I know i have to put vba code in subscription start date after update option but i dont know what to put in code to check all this.
Please help me out in this.
Thanks
Pagi
I have one table called transaction where in i am storing transaction.
There are different customer for different type of journals subscription.
We have journals subscription start date and end date in same transaction table.
What is need is while in entry as soon as users select subscription start date it should first check whether customer is already there in the table if not then let him enter data and if customer already exists then it should check with journal name if it no then let him enter data and if journal name exists it should check the subscription end date and compare it with forms subscription start date and start date is greater then the end date of find record then let him enter data or other wise popup message that record already exists.
I know i have to put vba code in subscription start date after update option but i dont know what to put in code to check all this.
Please help me out in this.
Thanks
Pagi
Comment