Hello,
I have a form with Bill To customers with a tab control.
I put a subform on a separate tab for Ship To's that pertain to the Bill To of the main form.
It works fine, and there are multiple Ship To's for each bill to which i see and can scroll through the records fine.
The problem im having is I added a listbox to the subform which is seeing the correct records via criteria in the ACCT field.
However, its not going to the record after i select from the listbox.
The code i have on the macro of the listbox after update event is: ="[Acct] = " & Str(Nz([Screen].[ActiveControl],0))
I dont understand why it wont work as i have another tab with another subform with the same code on a listbox and it finds the records just find on the subform.
Am i missing something?
Thanks,
BJF
I have a form with Bill To customers with a tab control.
I put a subform on a separate tab for Ship To's that pertain to the Bill To of the main form.
It works fine, and there are multiple Ship To's for each bill to which i see and can scroll through the records fine.
The problem im having is I added a listbox to the subform which is seeing the correct records via criteria in the ACCT field.
However, its not going to the record after i select from the listbox.
The code i have on the macro of the listbox after update event is: ="[Acct] = " & Str(Nz([Screen].[ActiveControl],0))
I dont understand why it wont work as i have another tab with another subform with the same code on a listbox and it finds the records just find on the subform.
Am i missing something?
Thanks,
BJF