G
Guest
I have a procedure that I am doing. In form veiw I have used a query so I
can see and edit information. I have criteria so I am veiwing the
information that pertains to me. However when I am done I click a command
button to enter the date but I am failing somewhere this is my command button
Private Sub Command7_Click()
Me.Refresh
CurrentDb.Execute "UPDATE Cert SET [Date Approved] = Date()", dbFailOnError
How do I specify what records in my query that I want the date to appear.
Right now it puts the date in everyone . So right now lets say, I enter
monthly billing forms so child care providers can get paid. When they are
approved for payment we click the command button and that authoizes them for
payment. Since I do things in batches of 30 bills at a time. This code does
not allow me to do multiple batches. Right now Each batch needs to be
approved before I can start on the next one. I label each bill with a batch
number. When I veiw them I choose my batch number, If I feel the need to
hold one that is what the refresh is for. My original query has the critera,
Hold-False, and also filters by the batch number. So my question is, how can
I modify this to where I can do multiple batches at a time, without approving
all of them at one time?
Thanks
Chey
can see and edit information. I have criteria so I am veiwing the
information that pertains to me. However when I am done I click a command
button to enter the date but I am failing somewhere this is my command button
Private Sub Command7_Click()
Me.Refresh
CurrentDb.Execute "UPDATE Cert SET [Date Approved] = Date()", dbFailOnError
How do I specify what records in my query that I want the date to appear.
Right now it puts the date in everyone . So right now lets say, I enter
monthly billing forms so child care providers can get paid. When they are
approved for payment we click the command button and that authoizes them for
payment. Since I do things in batches of 30 bills at a time. This code does
not allow me to do multiple batches. Right now Each batch needs to be
approved before I can start on the next one. I label each bill with a batch
number. When I veiw them I choose my batch number, If I feel the need to
hold one that is what the refresh is for. My original query has the critera,
Hold-False, and also filters by the batch number. So my question is, how can
I modify this to where I can do multiple batches at a time, without approving
all of them at one time?
Thanks
Chey