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 / Forms / May 2005

Tip: Looking for answers? Try searching our database.

Filtering to Cline

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Stefan - 30 May 2005 21:11 GMT
I have a form which I use to invoice clients.  This is actually 1 form with 2
subforms
Client - Invoice# - Charge Detail

I Have a combo box to choose the client on the client form.

I have a combo box to choose the invoice# on the invoice.  I am trying to
filter the invoice's to only show the invoices for the current client shown.  

I have a query for the combo box where the client field is filtered to the
current client.  This seems to work for filtering the invoices to only that
client the first time I use it, but if I change the client the invoice
remains filtering to the first client that was chosen.

I tried to do a save command on the client field but that hasn't worked



Signature

Thanks in advance
Stefan

jl5000 - 31 May 2005 03:27 GMT
Use the after update event where you select the client, like

Private Sub Client_Id_AfterUpdate()
      me.Mysubform1.requery
      me.Mysubform1.requery
End Sub

But I will recommend you use the master and child link fields instead, read
the help file for detailed information

Signature

jl5000
<a href="http://www.joshdev.com"></a>

> I have a form which I use to invoice clients.  This is actually 1 form with 2
> subforms
[quoted text clipped - 13 lines]
>
>  
 
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.