Need to data from a field in one query to populate another query

J

JoeA2006

I currently have a form that allows the user to mark a record as inactive. I
am loading the field using the Now() function

Private Sub MarkAsDeleted_AfterUpdate()
Me.DateDeleted.Value = Now()
End Sub

I compare that to the begining date of the reporting month to determine if
that record should appear in reports going forward.
What I actually need to do is use a period deleted field to compare to the
report period. I need to load the report period number which I have in a
table into the query.
I tried
Me.PeriodDeleted.Value = [qrySelectTransactions.PeriodNum]

Since this does not work, is it possible to reference a form field or query
field to load into another query either using VBA or query designer?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top