JithuAccess
Member
- Local time
- Today, 14:22
- Joined
- Mar 3, 2020
- Messages
- 325
Hello Guys,
This is my Code
This code is working perfect. But if there is some thing like this "Employee's File" in File Name field this code is not working. I guess the query is not fetching the data if there is a Single Quote.
Could you guys please let me know how to fix this?
Thanks
This is my Code
Code:
db.Execute "Insert Into tblFileRequestData (File_Number, File_Name, File_Title, File_Requested_By, File_Requested_Date, File_Data_Entry_Date, File_Status) Values ('" & FlNum & "','" & FlNam & "','" & FlTitle & "','" & UserN & "','" & FlReqDate & "','" & FLEntryDate & "','" & FlStatus & "');"
This code is working perfect. But if there is some thing like this "Employee's File" in File Name field this code is not working. I guess the query is not fetching the data if there is a Single Quote.
Could you guys please let me know how to fix this?
Thanks