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

Using Filter within a Form (VBA) 1

Status
Not open for further replies.

Harlequin007

Technical User
Feb 9, 2004
249
GB
Morning everyone

I've developed a form which is tied to a table and I want to use a filter on a particular field. However, the properties dialog does not appear to have an option to do this.

Can it be done using VBA...?

e.g. field x = Design Actionee and I only want to display records on this particular form where Design Actionee "Is Not Null"

Any thoughts...?

----------------------------
Cogito Ergo Sum [jester2]
----------------------------
 
Hi!

There is an option for filter in the properties dialog, but I must confess to nevere have used it.

I'd either use the filter in the underlying recordset (query) or:

[tt]Me.Filter = "not [Design Actionee] is null"
Me.FilnterOn = True[/tt]

Roy-Vidar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top