problem with saving record that the name contain '

basilyos

Registered User.
Local time
Yesterday, 16:42
Joined
Jan 13, 2014
Messages
256
hello Guys

when i save my record everything is okay

but if the name of the movie contain ' i can't save it

how to let the vba accept " in my movies name

this is my code

Code:
strsql101 = "insert into tbl_videos (video_name, video_genre, video_duration, video_size, video_date, video_language, video_type, video_series, video_status) Values ('" & Me.video_name & "','" & Me.video_genre & "','" & Me.video_duration & "','" & Me.video_size & "','" & Me.video_date & "','" & Me.video_language & "','" & Me.video_type & "','" & Me.video_series & "','" & Me.video_status & "')"
 

Users who are viewing this thread

Back
Top Bottom