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

[SOLVED] Fred Toussi, can you use UPDATE in SQL Query view?

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


Joined: 23 Feb 2012
Posts: 42

PostPosted: Wed Feb 29, 2012 11:56 am    Post subject: [SOLVED] Fred Toussi, can you use UPDATE in SQL Query view? Reply with quote

See subject. Smile

I'm getting the following error any time I try to do an UPDATE statement in the Query Design view using SQL:

SQL Status: 42581
Error code: -5581

unexpected token: UPDATE : line: 2

I'm writing simple valid UPDATE statements in the view but Base doesn't like them.

Mike


Last edited by Zerex71 on Thu Mar 01, 2012 6:57 am; edited 1 time in total
Back to top
View user's profile Send private message
probe1
Moderator
Moderator


Joined: 18 Aug 2004
Posts: 2465
Location: Chonburi Thailand Asia

PostPosted: Wed Feb 29, 2012 10:48 pm    Post subject: Re: Fred Toussi, can you use UPDATE in SQL Query view? Reply with quote

Zerex71 wrote:
in the Query Design view using SQL


No, you can't.

Use Tools>SQL... to issue UPDATE statements.
_________________
Cheers
Winfried
My Macros
DateTime2 extension: insert date, time or timestamp, formatted to your needs
Back to top
View user's profile Send private message Visit poster's website
Zerex71
General User
General User


Joined: 23 Feb 2012
Posts: 42

PostPosted: Thu Mar 01, 2012 6:52 am    Post subject: Reply with quote

Great, thanks. That's what another person was saying as well, but I couldn't tell if it was due to a limitation of the query window (in which I can actually see the results of my SQL statements) or the database permission issue (I'm currently locked out of adding any records because my primary key is not autonumbering anymore after the migration.

Mike
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