Hi,
I have a form control that I would like to validate to see if the value entered by the user exists on a SQL table. I tried using a macro but it's not working and I know it's probably better to do using VBA - something I am not good at! I can code basic routines but nothing crazy.
1. I have a Form and need to validate if the Member ID entered by the user exists on a Member table. If it doesn't exist, I would like to display an error message. The table name is dbo_tdMember and resides on a SQL Server
2. Next, If the user enters an Authorization Number I need to validate the following
I appreciate any help you may provide since I am really an amateur with VBA.
Thank you,
Ann Marie
I have a form control that I would like to validate to see if the value entered by the user exists on a SQL table. I tried using a macro but it's not working and I know it's probably better to do using VBA - something I am not good at! I can code basic routines but nothing crazy.
1. I have a Form and need to validate if the Member ID entered by the user exists on a Member table. If it doesn't exist, I would like to display an error message. The table name is dbo_tdMember and resides on a SQL Server
2. Next, If the user enters an Authorization Number I need to validate the following
- Does the Authorization Number belong to the Member ID? (dbo_tdMember table MEMBERID and dbo_Authorization MemberID)
- Does the Authorization Number exist on the Auth Table?
- Does the Authorization Date fall within the Date of Service From and Date of Service Start dates?
I appreciate any help you may provide since I am really an amateur with VBA.
Thank you,
Ann Marie