Hi,
I have a form which requires Serial Numbers to be loaded from another
form.
When I press a button, another form opens with a list of Serial
Numbers.
I have the record selectors enabled.
I want to select a serial number range with the record selectors then
press a button called 'LOAD'. The selected Serial Numbers should then
be copied into the required fields on the first form. The pop-up form
should then close.
PSL_F_Serial copies to FirstSerial
PSL_L_Serial copies to LastSerial
I have tried the following in the 'OnClick' event ...
Forms![Shipments]![StockMovements].Form.SetFocus
[StockMovements].Form![FirstSerial].SetFocus
[StockMovements].Form![FirstSerial].text = Me.PSL_F_Serial.text
[StockMovements].Form![LastSerial].SetFocus
[StockMovements].Form![LastSerial].text = Me.PSL_L_Serial.text
I just get strange errors.
Appreciate your help.
David