OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Unexpected Token: 5 in Statement, how to fix ?

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Base
View previous topic :: View next topic  
Author Message
arfgh
General User
General User


Joined: 21 Feb 2010
Posts: 21

PostPosted: Wed Feb 24, 2010 10:39 am    Post subject: Unexpected Token: 5 in Statement, how to fix ? Reply with quote

The expression is the follow

strSQL="UPDATE ""2010 Ingresos"" SET ""Partes""=" & Form.getByName("NumPartes").value & " WHERE ""Propietario"" = '" & propietario & "'"


Form.getByName("NumPartes").value contains the value 2,5 and this comma causes the error. How can i set this value without to cause this error ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Base All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group