A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Can't pull all the



 
 
Thread Tools Display Modes
  #1  
Old November 4th, 2009, 09:13 PM posted to microsoft.public.access.forms
hoachen
external usenet poster
 
Posts: 97
Default Can't pull all the

I have a form to search the studentId and then display in listbox or combobox
for order# and orderDate but it only display one record. I would like it to
display all the order# by the student i type in search unbound box.

Anyone spot the mistake?

Column count: 2
Column width: 2";2"
Bound Column: 1
Row sources is from the query below
SELECT Table.[Order#], Table.OrderDate
FROM Table
WHERE
((([Table].[Student#])=Me.Form.StudentInfo.Form.CustInfoStuNo.Column(1) ));
  #2  
Old November 4th, 2009, 10:24 PM posted to microsoft.public.access.forms
Klatuu[_2_]
external usenet poster
 
Posts: 53
Default Can't pull all the

This is what is doing it. You are limiting your row source to a specific a
specific record:

WHERE
((([Table].[Student#])=Me.Form.StudentInfo.Form.CustInfoStuNo.Column(1) ));


"hoachen" wrote in message
...
I have a form to search the studentId and then display in listbox or
combobox
for order# and orderDate but it only display one record. I would like it
to
display all the order# by the student i type in search unbound box.

Anyone spot the mistake?

Column count: 2
Column width: 2";2"
Bound Column: 1
Row sources is from the query below
SELECT Table.[Order#], Table.OrderDate
FROM Table
WHERE
((([Table].[Student#])=Me.Form.StudentInfo.Form.CustInfoStuNo.Column(1) ));



  #3  
Old November 5th, 2009, 05:26 PM posted to microsoft.public.access.forms
hoachen
external usenet poster
 
Posts: 97
Default Can't pull all the

I don't understand why you said that. I put in a unbound text search (custID)
and the result should show me the CustID it enter and display only this
custID order# and orderDate which will have multiple order#. You said limited
the row source. How can i change it to what it have?

"Klatuu" wrote:

This is what is doing it. You are limiting your row source to a specific a
specific record:

WHERE
((([Table].[Student#])=Me.Form.StudentInfo.Form.CustInfoStuNo.Column(1) ));


"hoachen" wrote in message
...
I have a form to search the studentId and then display in listbox or
combobox
for order# and orderDate but it only display one record. I would like it
to
display all the order# by the student i type in search unbound box.

Anyone spot the mistake?

Column count: 2
Column width: 2";2"
Bound Column: 1
Row sources is from the query below
SELECT Table.[Order#], Table.OrderDate
FROM Table
WHERE
((([Table].[Student#])=Me.Form.StudentInfo.Form.CustInfoStuNo.Column(1) ));



.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:47 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.