Re: Translation of RDBMS messages showed by reconcileerrordialog.
Marius Zaharia <[email protected]>
| Newsgroups | gmane.comp.lang.delphi.programming |
|---|---|
| Message-ID | <[email protected]> |
You should start from here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsqlsg/html/msdn_interntl.asp In my oppinion this is the only way to localize the messages, as log as they are coming from SQL Server. I recognize I didn't read yet the article, but I think it is a good start. Regards, Deck delphi4everybody wrote: > Hi, > > Is there any way of translating the error in reconcile error > dialog to portuguese. > > I means those that are shown on FError.Message. > > These errors come from the target RDBMS,in my case SQL SERVER 2000. > > Since it seems that the reconcileerror event of the clientdataset > does not let the onposterror event fire. > > Let me give an example: > I have to show the message > Violation of PRIMARY KEY constraint 'PK_RCOLABFUN'. Cannot insert > duplicate key in object 'RCOLABFUN' > > as > VIOLAÇÃO DA REGRA DE NEGÓCIO 'PK_RCOLABFUN' > Tentativa de inserir uma chave duplicada na tabela RCOLABFUN. > > > Regards, > Marcello Dias > > > > > Yahoo! Groups Sponsor > ADVERTISEMENT > <http://rd.yahoo.com/M=251812.3170658.4537139.1261774/D=egroupweb/S=1705115362:HM/A=1693352/R=0/SIG=11tralmvc/*http://www.netflix.com/Default?mqso=60178293&partid=3170658> > > > > CodeCoffer - new Delphi code protection Tool! > http://www.delphicollection.com/public/CodeCoffer.htm > --------------------------------------------------------------- > Unsubscribe:[email protected] > List owner:[email protected] > --------------------------------------------------------------- > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service > <http://docs.yahoo.com/info/terms/>. [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/sO0ANB/LIdGAA/ySSFAA/i7folB/TM ---------------------------------------------------------------------~-> CodeCoffer - new Delphi code protection Tool! http://www.delphicollection.com/public/CodeCoffer.htm --------------------------------------------------------------- Unsubscribe:[email protected] List owner:[email protected] --------------------------------------------------------------- Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/