Filtering via VB.Net


I have not posted for a few days and just did a very quick Syteline modification to filter for a certain set of parameters as part on en event handler and thought someone might find this code snippet useful if you are fresh to Syteline development. For those of you that have been doing it for more than a few weeks, you have probably found this one already via the ‘intelisense’.

The Code

Sub pbti_jrf_testfiler()
ThisForm.PrimaryIDOCollection.Filter = “CustNum = ‘Test001′”
ThisForm.PrimaryIDOCollection.Refresh()
End Sub

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.