origin destination makeurl legs.distance.text
3012 JR 1012 JS &origin=3012 JR&destination=1012 JS
Public Sub testPostcodeafstanden()
Dim ds As New cDataSet, dr As cDataRow
Set ds = New cDataSet
With ds.load("postcodeafstand")
For Each dr In ds.rows
dr.columns(3).value = "&origin=" & dr.columns(1).toString &
"&destination=" & dr.columns(2).toString
Next dr
.column(3).Commit
.tearDown
End With
generalDataSetQuery("postcodeafstand", "postcodeafstanden", "makeurl").tearDown
End Sub
When I modified dr.columns(3).value = "&origin=" &
dr.columns(1).toString & "&destination=" & dr.columns(2).toString
to dr.columns("makeurl").value = "&origin=" &
dr.columns("origin").toString & "&destination=" &
dr.columns("destination").toString
I got an error.
Executing the code above gives me no errors but does not show the
expected result in the column legs.distance.text.
Also the postalcodes from columns origin and destination disappear.
But I got the message 1 item retrieved. Unfortunately it
doesn't show up or gets killed by the last teardown in the code.
--
Graag ontvang ik een bevestiging retour.
Met vriendelijke groet,
Bas Neve
316 199 39 198
http://nl.linkedin.com/in/basneve
>>>>>> ... so its not possible to pick up multiple columns to generate a query. Is
> You received this message because you are subscribed to a topic in the
> Google Groups "Excel Liberation" group.
> To unsubscribe from this topic, visit
>
https://groups.google.com/d/topic/excel-ramblings/EXUDGI4uTYo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to