Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to create a dynamic list

Status
Not open for further replies.

priapus

Technical User
May 17, 2001
26
US
in a form, i want to create a list whose length isn't static. i have a table field with a bunch of dates, and need to create a list in a form with the number of fields depending on how many dates in the table field have the same day as the current day. thank you much, in advance.
 
Just to be clear, do you mean the number of items (rows) varies or the number of fields (columns) varies?

If the number of rows varies, the problem is trivial. Create a query that selects the rows from the tables that meet your criteria. Set the row source of the list box = query.

If the number of columns varies then the problem becomes a little more challenging. Terry

;-) The single biggest challenge to learning SQL programming is unlearning procedural programming. -Joe Celko

SQL Article links:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top