Dear All,
I have been looking for a solution to an issue we are having. Looked at the following sites and tried a blend of them all, but with no luck. I am sure the solution is a variation of one of them or a combination.
http://www.datawright.com.au/access_resources/access_docmd.openform_arguments.htm
http://www.fmsinc.com/free/NewTips/Access/accesstip13.asp
http://allenbrowne.com/ser-28.html
I have a parent form ‘frmPrimeVendors’ with a subform ‘SubfrmEquipment.
Some equipment can be sourced from multiple vendors and I have a link table with many to many relationship between vendors and equipment ‘frmVendorsEquipmment’.
I also have another separate parent form frmPrimeEquipment with a subform called SubfrmVendors. They are essentially just the same as the two previous forms just the other way around.
When in the frmPrimeVendors I have some code which highlights if equipment is available from more than one vendor and if so the user can then press a command button to open the frmPrimeEquipment to enable them to scroll and quickly see who the alternative vendors are.
This all works fine. However, what I would like to happen is when the user opens the frmPrimeEquipment from the command button to view the alternative vendors, the frmPrimeEquipment/SubfrmVendors opens at the same vendor, which currently doesn’t happen.. The users can then scroll as required to see alternatives that supply the same equipment.
At the moment the SubformVendors just opens at one of the other vendors. Didn’t initially think this would or could be a problem, but has caused some confusion to several users when using the DB.
So, I have tried to play about with OpenArgs in the Command Button On Click event and also trying to add a filter but with no success.
Anybody any ideas of where to start.
Thanks
Mark
Access 2010.
I have been looking for a solution to an issue we are having. Looked at the following sites and tried a blend of them all, but with no luck. I am sure the solution is a variation of one of them or a combination.
http://www.datawright.com.au/access_resources/access_docmd.openform_arguments.htm
http://www.fmsinc.com/free/NewTips/Access/accesstip13.asp
http://allenbrowne.com/ser-28.html
I have a parent form ‘frmPrimeVendors’ with a subform ‘SubfrmEquipment.
Some equipment can be sourced from multiple vendors and I have a link table with many to many relationship between vendors and equipment ‘frmVendorsEquipmment’.
I also have another separate parent form frmPrimeEquipment with a subform called SubfrmVendors. They are essentially just the same as the two previous forms just the other way around.
When in the frmPrimeVendors I have some code which highlights if equipment is available from more than one vendor and if so the user can then press a command button to open the frmPrimeEquipment to enable them to scroll and quickly see who the alternative vendors are.
This all works fine. However, what I would like to happen is when the user opens the frmPrimeEquipment from the command button to view the alternative vendors, the frmPrimeEquipment/SubfrmVendors opens at the same vendor, which currently doesn’t happen.. The users can then scroll as required to see alternatives that supply the same equipment.
At the moment the SubformVendors just opens at one of the other vendors. Didn’t initially think this would or could be a problem, but has caused some confusion to several users when using the DB.
So, I have tried to play about with OpenArgs in the Command Button On Click event and also trying to add a filter but with no success.
Anybody any ideas of where to start.
Thanks
Mark
Access 2010.