Is there a problem setting ControlSource to listboxes?
The code below doesn´t work. It selects the first field in the local view
vwAccActs as its source. Accesscode is the second field.
ThisForm.List2.ColumnCount = 1
ThisForm.List2.RowSourceType = 2
ThisForm.List2.RowSource = 'vwAccActs'
ThisForm.List2.ControlSource = 'vwAccActs.accesscode'
But if the same listbox is called with anothter code (below) it works just
fine.
ThisForm.List2.ColumnCount = 1
ThisForm.List2.RowSourceType = 2
ThisForm.List2.RowSource = 'VwAccGrps'
ThisForm.List2.ControlSource = 'VwAccGrps.accesscode' && accesscode is the
second field
I need a hint please.
Best regards
Chrisitna