BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

elementary question

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
Alain Riaud
Guest





PostPosted: Thu Apr 26, 2007 8:14 pm    Post subject: elementary question Reply with quote



Hi all,

I use C++BuilderV4 and I'm new to database.

I'm writng a very simple database application based on a local MySQL server.

I store and retreive informations from a one row, 5 column table. One user.
Cannot be smaller!

Everything works fine and now I want to move to multi users with different
UPDATE privileges.

If I send an UPDATE SQL command on a column without UPDATE privilege the
application crashes (I don't intercept errors) , I'm pleased with this
behavior.

I would like to check the UPDATE privilege before issuing UPDATE SQL command
(I will intercept errors anyway).

I'm totally lost with the ReadOnly and CanModify properties, Which seems to
be of no help in this situation.

Any help would be welcome

Alain Riaud
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (SQL Servers) All times are GMT
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, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.