HMG Help

Exclusive forum for HMG, a Free / Open Source xBase WIN32/64 Bits / GUI Development System
  1. Lo siento el que no entendió fui yo.
    Creí que la función era de harbour.
    Pero realice pruebas y me funciono de la siguiente manera

    y me trae el resultado de la función que yo cree
    espero que te sirva de algo, siento la confusión.
    saludos.

    google translate

    I'm sorry the one who did not understand was me.
    I thought the function was harbor.
    But I did tests and it worked in the following way

    And it brings me the result of the function that i create
    I hope it helps you, I am sorry for the confusion.
    regards.

    CODE:

    cQuery := "select consultanom('01') as nombre"bQuery := oServer:Query (cQuery)If bQuery:NetErr()Msgstop(bQuery:Error())Return NilEndIfoRow := bQuery:GetRow(1)main.text_1.Value := oRow:FieldGet("nombre")

    Statistics: Posted by koke — Wed Nov 22, 2017 6:59 pm


  2. Koke,

    I'm afraid I don't understand what you mean!
    Can you explain?
    The calling PROC is always a string-array.

    Serge

    Statistics: Posted by serge_girard — Wed Nov 22, 2017 4:46 pm


  3. Si el procedimiento te regresa una cadena de texto con el query deberias quitar las comillas y dejar solo el texto.
    google translate.
    If the procedure returns a string with the query, you should remove the quotes and leave only the text.

    Statistics: Posted by koke — Wed Nov 22, 2017 1:28 pm


  4. Thanks Marek, Maybe it is. I will try to find out!

    Serge

    Statistics: Posted by serge_girard — Mon Nov 20, 2017 4:58 pm


  5. Maybe mysql.dll has such a limitation?

    Statistics: Posted by mol — Mon Nov 20, 2017 2:46 pm