I have created a new table using VBA along with several new fields. I know how to populate a field using some code with a string provided in the code. I am wanting to populate the fields with the vlaue of a queries result.<br>
The following code is from the help but is just for a string from the code.<br>
<br>
======================================<br>
With mytab<br>
.AddNew<br>
!custname = "blahyd blah"<br>
======================================<br>
<br>
Am i going the wrong way about it to use a query result?<br>
<br>
<br>
=================================================<br>
With mytab<br>
.AddNew<br>
!custname = !queries!data!custnameq<br>
=================================================<br>
<br>
Thanks for any help!
The following code is from the help but is just for a string from the code.<br>
<br>
======================================<br>
With mytab<br>
.AddNew<br>
!custname = "blahyd blah"<br>
======================================<br>
<br>
Am i going the wrong way about it to use a query result?<br>
<br>
<br>
=================================================<br>
With mytab<br>
.AddNew<br>
!custname = !queries!data!custnameq<br>
=================================================<br>
<br>
Thanks for any help!