Database reference - Nwind_new

Nwind_new -  views -  Invoices Filter

Description

Filters records in Invoice report. Referred to in the Click event of the Print button on the Orders form. 

View properties

namevalue
nameInvoices Filter
created9/13/1995 10:51:44 AM
modified8/16/2008 9:43:29 PM 

Columns

columndatatypelengthnullscomment
ShipNametext40yes  Name of person or company to receive the shipment. 
ShipAddresstext60yes  Street address only -- no post-office box allowed. 
ShipCitytext15yes   
ShipRegiontext15yes  State or province. 
ShipPostalCodetext10yes   
ShipCountrytext15yes   
CustomerIDtext5yes  Same entry as in Customers table. 
Customers.CompanyNametext40no   
Addresstext60yes  Street or post-office box. 
Citytext15yes   
Regiontext15yes  State or province. 
PostalCodetext10yes   
Countrytext15yes   
Salespersontext0yes   
OrderIDlong4yes  Unique order number. 
OrderDatedatetime8yes   
RequiredDatedatetime8yes   
ShippedDatedatetime8yes   
Shippers.CompanyNametext40no  Name of shipping company. 
ProductIDlong4no  Same as Product ID in Products table. 
ProductNametext40no   
UnitPricecurrency8no   
Quantityint2no   
Discountsingle4no   
ExtendedPricecurrency8yes   
Freightcurrency8yes   

Parameters

nametype
Forms!Orders!OrderIDtext

Dependency graph

InvoicesInvoices Filter

Objects that Invoices Filter depends on

nameobject typelevel

Code

SELECT DISTINCTROW
    Invoices.*
FROM Invoices
WHERE (((Invoices.OrderID)=Forms!Orders!OrderID));



Documentation generated by SqlSpec