26

(10 replies, posted in General)

DriveSoft wrote:
ljhurtado wrote:

If I remove ComboBox1 from form Textos the ID of the table DATOS don't save in table Textos (ID_datos)

My Visual Database automatically write id of a parent record for the child record.

You were right. I found the way.

Thanks

27

(10 replies, posted in General)

Ok Thanks

28

(10 replies, posted in General)

Sorry. I tried removing the ComboBox but don´t work. I don´t know how do it. If you can explain me any more, I will  it thank you.

29

(10 replies, posted in General)

If I remove ComboBox1 from form Textos the ID of the table DATOS don't save in table Textos (ID_datos)

30

(10 replies, posted in General)

Ok

31

(10 replies, posted in General)

Imagen

32

(10 replies, posted in General)

Hi. I have a problem. I have two tables. Parent and child. I save the record in  parent table and when I push the button for NEW RECORD in child table, the record in parent Table is saved newly.

Project attached

Thanks you very much.

33

(8 replies, posted in General)

Thanks a lot

34

(8 replies, posted in General)

Hi
Somebody knows how to convert the required field message from English to Spanish?

THANKS

35

(9 replies, posted in General)

... pero debes usar la función : MessageBox() y no MessageDlg()

if IDNO = MESSAGEBOX(' Realmente quiere borrar el registro ','Confirmación',MB_YESNO+MB_ICONQUESTION) THEN
    begin
    Cancel := True;
    Exit;
    end;

36

(9 replies, posted in General)

Hola v_pozidis
En la acción del botón de borrar el registro, debes quitar la marca  de "Ask for confirmation to delete record" y colocar el código que te ha enviado Dimitry.

37

(2 replies, posted in General)

The project is an example sent by you to the forum, called SENDMAIL.

The project works well on another computer outside the company.
I have set open ports on the firewall, but it still does not work. I do not know what to do. Any advice?

Thanks

38

(2 replies, posted in General)

Dmitry, I have used your example to send email. When I run it, an error appears. Please look at the attached image. I need to build an application and the sending of emails is very important. Please i need your help. Thanks.

39

(1 replies, posted in General)

Hi, Dimitry.

Please I need an example about the best way of use the DBFile object. I need to make reference to the directory where de files are saved and not save them into de database.

Thanks

40

(2 replies, posted in General)

Thank you very much

41

(2 replies, posted in General)

In a  string type column, I need to make a SQL consult with SQLExecute() and to found the max value integer in the string  type column. I have wrote the follow code:

UltimoNumero := SQLExecute( 'SELECT MAX( IntToStr( Autores.NumDocumentoAutor ) ) FROM Autores WHERE Autores.id_TipoDocumentos LIKE ' + IntToStr(Id_TipoDocumento ) );

When I run it appear an error in the first function IntToStr() however not in the second function IntToStr().
Help please.

42

(1 replies, posted in General)

Hi
I need to disable the two options in the box in the attached figure. The object is a "dbfile"
Thanks

43

(3 replies, posted in General)

Thanks

44

(3 replies, posted in General)

Hello
When I Create a <save> button and it is running, the record is saved, but I press it again, the record is saved twice.  What can I do to fix that?

45

(2 replies, posted in General)

Thank you very much Dmitry

46

(2 replies, posted in General)

Hello,
I need to create a button or a label to link a web page. Please, how can I do it?