G
Guest
Hi,
I'm having trouble with the above error message when trying to insert a new
record. I am using the following code...
sSQL = "INSERT INTO Tbl_Ball_By_Ball (Date_Time, Over, Actual_Ball,
Ball, Batting_Team, Batsman_On_Strike, Batsman_Non_Striker, Bowling_Team,
Bowler_Bowling, Bowler_End, Bowler_Other)"
sSQL = sSQL & " VALUES ('" & Format(Now(), "General Date") &
"',1,1,1,'" & Me.cbo_Batting_Team & "','" & cbo_Batsman_On_Strike & "','" &
cbo_Batsman_Non_Striker & "','" & Me.cbo_Bowling_Team & "','" & cbo_Bowler &
"','" & Me.cbo_Bowler_End & "','" & Me.cbo_Bower_Other & "');"
.... and I always get the error message on cbo_Bowler.
I have tried renaming the control box as well as trying to repeat the
control before it but again it errors at the same point. Is there a limit
with the length of the statement?
I've tried and tried and tried.....
I'm having trouble with the above error message when trying to insert a new
record. I am using the following code...
sSQL = "INSERT INTO Tbl_Ball_By_Ball (Date_Time, Over, Actual_Ball,
Ball, Batting_Team, Batsman_On_Strike, Batsman_Non_Striker, Bowling_Team,
Bowler_Bowling, Bowler_End, Bowler_Other)"
sSQL = sSQL & " VALUES ('" & Format(Now(), "General Date") &
"',1,1,1,'" & Me.cbo_Batting_Team & "','" & cbo_Batsman_On_Strike & "','" &
cbo_Batsman_Non_Striker & "','" & Me.cbo_Bowling_Team & "','" & cbo_Bowler &
"','" & Me.cbo_Bowler_End & "','" & Me.cbo_Bower_Other & "');"
.... and I always get the error message on cbo_Bowler.
I have tried renaming the control box as well as trying to repeat the
control before it but again it errors at the same point. Is there a limit
with the length of the statement?
I've tried and tried and tried.....