[DELPHI 5] Symbole EURO mal affiché

From: Salut-Les-Potes (salut.lespotes_at_laposte.net)
Date: 11/26/04


Date: 26 Nov 2004 09:56:07 -0800

Bonjour,

Je n'arrive pas à faire afficher correctement le symbole Euro dans un
objet DBGrid d'une appli Delphi.
La donnée dans la base est correcte, a priori : le caractère a bien la
valeur 128, mais quand je le récupère et l'affiche (via Query -->
DataSource --> DBGrid), j'obtiens un point d'interrogation à l'envers
(code hexe BF).

Pourtant, quand je tape le code Euro dans mon appli (dans un
Datafield, par exemple, il s'afiche bien.

Je n'ai plus tellement d'idée.

Par ailleurs, j'aimerais intercepter l'affichage de la data dans la
DBGrid pour voir exactement ce la DataSource m'envoie comme
caractères. Quel évenement dois-je choisir et comment accéder
(modifier ?) la string envoyée par l'objet DataSource ?

Merci à tous
Salut Les Potes



Relevant Pages

  • Tabelle ohne entsprechende Datenbank zur Laufzeit (TDataSet und TDBGrid ind Delphi 5)
    ... Ich bin auf der Suche nach einem generischen Ansatz, wie wir gewisse Daten für unser Programm in der Datenbank bei Kunden austauschen können. ... das ganze ohne einer Connection zu verwenden? ... Also als reines TDataSet, das in einem DBGrid editiert werden kann. ... Voraussetzung: Globale Variable ds und ein DBGrid und eine DataSource am Formular: ...
    (de.comp.lang.delphi.misc)
  • Re: OOP in database programming - Newbie question
    ... when you mean 'accessing data through data-aware controls is ... A DBGrid. ... >> Associate a TTable with the necessary Database, ... >> Then associate the datasource to the ttable and the dbgrid ...
    (borland.public.delphi.non-technical)
  • Re: ADOQuery+Informix+Text Field=Multiple step operation error
    ... >>New Project I just dropped and ADO Connection, an ADOQuery, a DataSource, ... >>DBGrid and a DBMemo ... >>for the grid and memo and run it. ...
    (borland.public.delphi.database.ado)
  • Error: Either BOF or EOF is True...
    ... I have a .mdb database contains "Subjects" table. ... I also use ADO components ... to connect to the table.(ADOConnection, ADOTable, Datasource, DBGrid). ...
    (borland.public.delphi.database.ado)