Share via

Populating an array using a query

Anonymous
2012-02-22T18:04:49+00:00

Hello all,

I am trying to populate an array using info from a query. The query looks at a specific date, entered on a form by the user, then looks for the number of orders entered by each employee on that date. I want to display the results on the screen and also be able to print it if needed by the user. Usually there are between 2 and 4 order entry people. I understand some about arrays and how they work but I can't figure out how to populate them from a query. 

Or would I be better off using list/combo boxes?

Any help would be appreciated.

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2012-02-22T18:13:28+00:00

I don't understand why you need to use an array.

Simply create a form, combo box, listbox, ... and use your query as the RecordSource or RowSource (depending on what you choose to use).

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2012-02-22T18:21:00+00:00

    Sorry just wanted to see if I could do it using an array. I am already working on the list/combo box approach.

    Thanks for the reply will mark this one finished

    Was this answer helpful?

    0 comments No comments