I am trying to dynamically populate a binding navigator with selected pieces of a dataset that occur in real time.
The fillby statement is:
SELECT record_item, category, item_date, data_item_1, data_item_2, data_item_3, data_item_4, data_item_5, picture_name, ID
FROM records
WHERE (category = '@mycategory')
ORDER BY record_item
category is a string variable
my fillby statement is as follows:
Me.RecordsTableAdapter.FillBy(Me.ContactsDataSet.records, ComboBoxCategory.Text)
the error is:
“too many arguments to ‘public override Overloads function fillby(data Table as ContactsDataSet.recordsDataTable) as integer’
I am using VB 2012. I cannot see what I am doing wrong.
Suggestions?
RONATMOODYLAKE