Hello,
I have run into an issue with an invoicing system that I am creating. I would like to, on the click of a button, call a stored procedure and send a parameter to that procedure, have it update the record and update the table to reflect it in my database.
Here are the steps to my process. An invoice is approved to be billed. The user clicks a check box and this calls a stored procedure and updates a bit field and a date field. I know the update query is correct because I tested it in analyzer. What is happening is the record is not showing as updated in access project as well as when I go to leave the record, it gives me a record locking error and prompts me to save the changes. Ultimately what happens is when I go to generate the invoice, (which assigns an invoice number, then generates a report with that invoice number on it) it is unable to do so because the pieces within the procedure for that action have not been reflected on the main table (the check box and date from the approval process).
All my pieces work, I just can't get them to work one after another. I have thrown in me.refresh, me.requery, etc, but they end up causing more grief because it reshuffles the records.
Any ideas??
Thanks in advance!!
I have run into an issue with an invoicing system that I am creating. I would like to, on the click of a button, call a stored procedure and send a parameter to that procedure, have it update the record and update the table to reflect it in my database.
Here are the steps to my process. An invoice is approved to be billed. The user clicks a check box and this calls a stored procedure and updates a bit field and a date field. I know the update query is correct because I tested it in analyzer. What is happening is the record is not showing as updated in access project as well as when I go to leave the record, it gives me a record locking error and prompts me to save the changes. Ultimately what happens is when I go to generate the invoice, (which assigns an invoice number, then generates a report with that invoice number on it) it is unable to do so because the pieces within the procedure for that action have not been reflected on the main table (the check box and date from the approval process).
All my pieces work, I just can't get them to work one after another. I have thrown in me.refresh, me.requery, etc, but they end up causing more grief because it reshuffles the records.
Any ideas??
Thanks in advance!!