Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / November 2005

Tip: Looking for answers? Try searching our database.

Select query in form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Akrt48 - 09 Nov 2005 16:50 GMT
I have two tables one lists jobs and the other list destinations of those
jobs they are tied together by jobnumber.  I want to be able to limit what
you see when you enter a delivery into a form.  I am trying to restrict the
delivery sites to the ones only connected to that job.  I have entered the
following in the combo box row source of my form, but it will only work once
and then it leaves those for the next form no matter what job number you
enter.  Where have I gone wrong?  Thanks

SELECT Delivery.destination FROM Delivery WHERE
(((Delivery.jobnumber)=Forms!loads!jobnumber)) GROUP BY Delivery.destination
ORDER BY Delivery.Destination;
Ofer - 09 Nov 2005 17:30 GMT
This question been asked before,
an answer give by Arvin Meyer

The maximum data is 2 GB, but you really should be moving to a different
engine before then. You can have about 2000 tables open.

If you open Help and type "specification" into the index (without the
quotes) you'll get lists of Access specs.
Signature


--
The next line is only relevant to Microsoft''s web-based interface users.
If I answered your question, please mark it as an answer. It''s useful to
know that my answer was helpful
HTH, good luck

> I have two tables one lists jobs and the other list destinations of those
> jobs they are tied together by jobnumber.  I want to be able to limit what
[quoted text clipped - 7 lines]
> (((Delivery.jobnumber)=Forms!loads!jobnumber)) GROUP BY Delivery.destination
> ORDER BY Delivery.Destination;
Ofer - 09 Nov 2005 20:08 GMT
Ignore that please, been post in the wrong place
offfffffff

> This question been asked before,
> an answer give by Arvin Meyer
[quoted text clipped - 16 lines]
> > (((Delivery.jobnumber)=Forms!loads!jobnumber)) GROUP BY Delivery.destination
> > ORDER BY Delivery.Destination;
Klatuu - 09 Nov 2005 19:21 GMT
In the Current event of your form:
Me.MyComboBox.Requery

> I have two tables one lists jobs and the other list destinations of those
> jobs they are tied together by jobnumber.  I want to be able to limit what
[quoted text clipped - 7 lines]
> (((Delivery.jobnumber)=Forms!loads!jobnumber)) GROUP BY Delivery.destination
> ORDER BY Delivery.Destination;
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.