Villarreal68
Registered User.
- Local time
- Today, 00:44
- Joined
- Feb 15, 2007
- Messages
- 133
Hello everyone,
I have a dilema and I hope someone can help me...
I have a simple event on the On Click of a sub-form in datasheet view. When someone single clicks the sub-form I have the following code:
This code is sort of a pre-setup for a "Double-Click" which opens an Edit Window that brings transaction record ID that equals "Forms!frmTranwsactionEntry![txtTranID]"
It works great when the form has entries, but when the form is empty I get Run-time error 2113 " The value you entered isn't valid for this field."
How can I have it ignore this On Click if the form is empty? :banghead:
thank you in advance for your time.
I have a dilema and I hope someone can help me...
I have a simple event on the On Click of a sub-form in datasheet view. When someone single clicks the sub-form I have the following code:
Forms!frmTransactionEntry![txtTranID]=Forms!frmTransactionEntry!TransactionsByDepartment![TranID]
This code is sort of a pre-setup for a "Double-Click" which opens an Edit Window that brings transaction record ID that equals "Forms!frmTranwsactionEntry![txtTranID]"
It works great when the form has entries, but when the form is empty I get Run-time error 2113 " The value you entered isn't valid for this field."
How can I have it ignore this On Click if the form is empty? :banghead:
thank you in advance for your time.