Good Morning
I am having a problem with the VBA code to chage the bound Column in a unbound Value List.
I have used a piece of coding which looks up address from 192.com which it all working great. Here's my issue.
With the onclick command I want to be able to copy the results row into an open form instead of the user copying and pasteing the results of the postcode lookup.
List2 is the unbound Value box. It has 7 Columns and is currently bound to Column 1.
What it have found is if I run - docmd****ncommand accmdcopy - it copys the text from only the bound column. I cannot find any other way of copying the text. If I change the bound column it copys that text
So what I thought I would do is run copy (to copy the first column) then paste into the active other active form, then change the bound column the run copy and so on for the rest of the columns. I am using
me.List2.BoundColumn = 2
But it does not change the bound column in the object properties.
Any help would be much appriciated
Thank you
I am having a problem with the VBA code to chage the bound Column in a unbound Value List.
I have used a piece of coding which looks up address from 192.com which it all working great. Here's my issue.
With the onclick command I want to be able to copy the results row into an open form instead of the user copying and pasteing the results of the postcode lookup.
List2 is the unbound Value box. It has 7 Columns and is currently bound to Column 1.
What it have found is if I run - docmd****ncommand accmdcopy - it copys the text from only the bound column. I cannot find any other way of copying the text. If I change the bound column it copys that text
So what I thought I would do is run copy (to copy the first column) then paste into the active other active form, then change the bound column the run copy and so on for the rest of the columns. I am using
me.List2.BoundColumn = 2
But it does not change the bound column in the object properties.
Any help would be much appriciated
Thank you