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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple Columns In A Form

Status
Not open for further replies.

overdraft015

Programmer
Nov 25, 2007
123
GB
is there any way that i can have multiple columns within a form using the same data so that it carries on when the space runs out?


thank you,

Michael
 
This sounds like your data is not normalized. Perhaps you can explain a little further?
 
i have created a little program that checks some imported data against a table. i then would like to show the results to ensure both datas match. i will only need to show. product, qty, status (i.e. matching or not)and seeing as its only 3 colums it seems a waste of space for the user to have to scroll down when i can easily make 3 columns so it all fits on 1 screen?
 
I suppose you could use subforms with queries that select a certain number of records. If it is not necessary to edit the data, a report with one or more columns may suit.
 
i will try subforms each with a limited number of recordsets

Thank you
 

Use subforms / subreports based on queries, something like this...

1st column
Code:
SELECT TOP 25 Customer FROM myTable

2nd column
Code:
SELECT TOP 25 Customer FROM myTable
WHERE Customer NOT IN
(SELECT Top 25 Customer FROM myTable)

3rd column
Code:
SELECT TOP 25 Customer FROM myTable
WHERE Customer NOT IN
(SELECT TOP 50 Customer FROM myTable)

You can substitute the query names for the sub-queries if you prefer...
Code:
SELECT TOP 25 Customer FROM myTable
WHERE Customer NOT IN
(SELECT Customer FROM myFirstQuery)


Randy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top