Hi there,
I have a following question and it is related to vfp. I created a form method called AddInvoiceToPrintQueue.
The following is the code i added.
[HTML]LPARAMETERS tinvoice_id, tinvoice_no, tuser_id, tcomputer_name
INSERT INTO <PrintQueueTable> ;
(invoice_id, invoice_no, user_id, computer_name, status_id);
VALUES;
(m.tinvoice_id, m.tinvoice_no, m.tuser_id, m.tcomputer_name, "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]= AddInvoiceToPrintQueue(thisform.oMasterObject.oObj ectStore.invoice_id, thisform.oMasterObject.oObjectStore.invoice_no,
thisform.oMasterObject.oObjectStore.user_id, thisform.oMasterObject.oObjectStore.computer_name,
thisform.oMasterObject.oObjectStore.status_id)[/HTML]
Thanks