D
Dave
Hi All,
I hope you can help me here, I'm a little confuzzled.
All my forms are based on data sheets.
I have a main form (workstations) with a sub-form (workstation assets).
I have a button on the main form which loads another form with a view of all the workstation assets (everything in the database). This allows me to filter the assets. I have a button on this form -
'Jump to asset' which closes the form and moves the station view to the station that contains 'that' asset - and positions it on the row that contains the asset.
All well and good - most of the time.
But if the asset belongs to the station that was already 'in view' on the subform - the sub-form 'current' event doesn't re-position my .FindFirst to the correct row.
I hope I'm making myself clear here.
I know it has to be something to do with the filter jumping to the current station - and assets, but I'm unsure how to kick it to re-look at the record set already loaded.
Apologies if this is unclear, but I've spent ages trying to word this so it's understandable. I hope it's clear to someone.
Many thanks,
Dave
I hope you can help me here, I'm a little confuzzled.
All my forms are based on data sheets.
I have a main form (workstations) with a sub-form (workstation assets).
I have a button on the main form which loads another form with a view of all the workstation assets (everything in the database). This allows me to filter the assets. I have a button on this form -
'Jump to asset' which closes the form and moves the station view to the station that contains 'that' asset - and positions it on the row that contains the asset.
All well and good - most of the time.
But if the asset belongs to the station that was already 'in view' on the subform - the sub-form 'current' event doesn't re-position my .FindFirst to the correct row.
I hope I'm making myself clear here.
I know it has to be something to do with the filter jumping to the current station - and assets, but I'm unsure how to kick it to re-look at the record set already loaded.
Apologies if this is unclear, but I've spent ages trying to word this so it's understandable. I hope it's clear to someone.
Many thanks,
Dave