newbie question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shani Aulakh
    New Member
    • Nov 2007
    • 44

    newbie question

    Hi there,

    I have a following question and it is related to vfp. I created a form method called AddInvoiceToPri ntQueue.

    The following is the code i added.

    [HTML]LPARAMETERS tinvoice_id, tinvoice_no, tuser_id, tcomputer_name

    INSERT INTO <PrintQueueTabl e> ;
    (invoice_id, invoice_no, user_id, computer_name, status_id);
    VALUES;
    (m.tinvoice_id, m.tinvoice_no, m.tuser_id, m.tcomputer_nam e, "000") [/HTML]

    I need to call this method from the another button. how do i do that...sheer new to vfp.

    I tried this approach... but neeed your help

    [HTML]= AddInvoiceToPri ntQueue(thisfor m.oMasterObject .oObjectStore.i nvoice_id, thisform.oMaste rObject.oObject Store.invoice_n o,
    thisform.oMaste rObject.oObject Store.user_id, thisform.oMaste rObject.oObject Store.computer_ name,
    thisform.oMaste rObject.oObject Store.status_id )[/HTML]

    Thanks
Working...