I have a visualforce page in which, on the page i have a button which redirects me to my Address Object Page generated by salesforce. The addresses have a bridge table in which i store the companies addresses so i can tell they belong to the company.
On my button click on my vf page how do i transfer a variable flag to my next page, which is a custom object page generated by salesforce. How would i be able to retrieve the variable.
So far i have seen how to transfer a variable to another page with getParameters. But is there anyway to retreive that info without a custom VF page. I wanted to make a custom button inside the page so that when it went to save it, it would know which it should store it to. But i am not sure if the variable would be able to reach the destination as it's nested in the first page.
Any help or direction would be great.