51

(35 replies, posted in General)

Hi k245,
if there was a DataExpress manual, which I haven't found, I could try to translate it. The comparison between the two programs is not because I'm not so expert, indeed I tried to take a look at DataExpress and honestly I understood little.

52

(23 replies, posted in General)

Hi Nikomaz and derek,
I was trying to help you but I couldn't get a spider out of the hole. We needed Derek here.
Just a curiosity: why didn't you like the simply translated standard box?

Translate('Are_you_sure_you_want_to_delete_the_record', 'Voulez-vous supprimer la ligne?');

53

(23 replies, posted in General)

Si tu utilise MessageBox ou MessageDlg pour remplacer une MessageBox intégrée au MVD, tu dois cependant également arrêter la MessageBox d'origine sinon tu aurai deux fenêtres

function OnSQLException(Sender: TObject; Msg: string; SQL: string): boolean;
begin
  if Sender = Form1.Button1 then
    begin
      result := True; //*** blocca il messaggio di errore standard ***
      MessageBox('Voulez-vous suprimer la ligne?','', MB_ICONWARNING + 0); //*** Messaggio di errore personale ***
    end;
end;

54

(23 replies, posted in General)

Bonjour Nicomax
pour "Voulez-vous supprimer la ligne." tu veux dire la boîte de message qui te indique si tu es sûr de supprimer le record d'une tablegrid?

55

(18 replies, posted in General)

derek wrote:

Ciao Fabio, Tcoton,
As Tcoton has already identified, 'frminterventi' was using the 'clienti' counter and not the 'intervento' counter.
Additionally, your relationships on 'frminterventi' (cbcliente, cbmarca, cbtipo and cbstato) were set up incorrectly.
Should be working in the attachment.
Derek.

Hi Derek,
I knew it would be stupid. Same reason as Tcoton's answer: I changed the table name and forgot to change the controls configuration. I always get lost in nonsense. Thank you so much derek, always kind and helpful.

56

(18 replies, posted in General)

tcoton wrote:

The counter property in frmInterventi should match the table Intervento, doing so makes it work, no, the data in the combobox are retrieved but are indexed in a weird fashion...

Hi Tcoton,
during production i changed the name to the table and in some check i forgot to make the changes. Thanks for the hint.

57

(23 replies, posted in General)

Bonjour Nicomax,
dans le fichier joint, tu peux trouver les traductions de toutes les boîtes de message et aussi d'autres objets. Les traductions sont en italien, il suffit de les remplacer par celles que tu préfére.

58

(15 replies, posted in General)

Ah yes, so they are unicode symbols used as caption.

59

(18 replies, posted in General)

Hi everyone,
I'm continuing with this project and I've reached the point where this strange thing happens to me:
I insert an intervention (button 'bAggiungiIntervneto in the first form 'frmMain'). Then I'm going to edit this record by clicking on it twice. We immediately see that the first field which is a counter (Numero intervento) is empty instead of having the intervention number which still appears in the TableGrid. Then also the data in the comboboxes are not there. But the strangest thing is that if I save without entering the client the record disappears.
Should I use another form to make edits using editbox instead of combobox? But then I think I would run into errors being the fields in different tables.
I ask for help please. Thank you!

60

(15 replies, posted in General)

Ah, then I don't know what to tell you because I'm not good enough to even edit these files.
I didn't even understand which project you are referring to, in this thread I have not inserted any project, derek has inserted one, but I would always say using the symbols as caption.

61

(27 replies, posted in General)

sparrow wrote:

Sorry Derek but you posted a link to edit the thread. Therefore "You do not have permission ..."
Here is the correct one

http://myvisualdatabase.com/forum/viewt … ?pid=46947

Hi sparrows,
you're right it's my fault I copied wrong.
Sorry Tcotton, the link was supposed to lead to this thread.

62

(27 replies, posted in General)

Hi Tcotton and derek,
actually clicking on the link I receive the same message but I'm logged on.

63

(23 replies, posted in General)

Bonjour Nikomax,
qu'est-ce que tu entends par "mb" ?

64

(15 replies, posted in General)

Hi Tcoton,
Sorry but I don't quite understand what you mean by VSF. If you meant to use icons for buttons you can use "Unicode Symbols" by googling and simply copying and pasting as button caption.
As derek explains in this thread: http://myvisualdatabase.com/forum/viewtopic.php?id=8457

65

(14 replies, posted in General)

Hi derek, thank you! I missed knowing that it was necessary to choose the dates.

66

(14 replies, posted in General)

Hi all,
I thought it was my problem. But I don't see anything.

67

(32 replies, posted in General)

Really beautiful, congratulations!

68

(18 replies, posted in General)

Ciao Domenico,
perfetto, proprio quello che volevo facesse il programma. Ho apprezzato anche il tasto che da anche un po' di colore alla finestra oltre a controllare se l'indirizzo e-mail è scritto correttamente.
Grazie mille!

69

(9 replies, posted in General)

Hi all, regarding the 'refresh grid' button, I saw that a SQL query was created.
I wonder if it isn't more practical from the point of view of streamlining the code, which would also be automatic without the need for a button, the instruction:


form.tablegrid.dbupdate

I'm also wondering if the two instructions are the same or one is better than the other.

70

(18 replies, posted in General)

Hi Derek, hi everyone.
Also in this project I tried to make the e-mail address within an Edit clickable to open it with an e-mail client.
I gave birth to this horrendous thing that obviously doesn't work:

procedure frmClients_edEmail_OnClick (Sender: TObject);
var mail: string;
begin
  mail := frmClients.edEmail.text;
  mailto: (mail)
end;

A little help please.

71

(18 replies, posted in General)

derek, i never know how to thank you even for the explanations.

72

(18 replies, posted in General)

Ah, I understand, then you can't edit them manually.
I have another question, always related to this project if you don't mind.
'frmSettings' is also called by the 'frmInterventions' buttons. As is easily visible, 3 of these buttons all do the same job: they open 'frmSettings' however in a tab of 'PageContol1' either random or the last one opened.
The improvement I would like to make is that when in 'frmInterventi' a button relating to that specific object to be inserted is pressed, it opens directly in the right tab of 'frmSettings'.
For example if I press the button to enter a "Marca", the "Marca" tab opens.
Thanks as always.

73

(27 replies, posted in General)

Hi Sparrow, Thanks for your reply and clarification. I didn't understand much but I'll do some tests.

74

(18 replies, posted in General)

I told you it would be silly :-(
But is there a way to enlarge the tablegrids by a certain amount when starting the program? Because they start so narrow.
Thank you!

75

(18 replies, posted in General)

Hi Derek, Thanks for your input and settings.
Please help me understand why in my project the TableGrid gives me a ComboBox instead of making me write, while in the other two the same thing doesn't happen, because I'm going crazy. Thank you.