General information
Category:
Forms & Form designer
Hi Cemal.
>first combos controlsource is : newline(1)
>first combos rowsource is : fields
>first combos controlsource : customer.name,id
>
>Second combos controlsource is : newline(2)
>Second combos rowsource is : fields
>Second combos controlsource : customer.id,name
>
>This code is in the first combos valid event ;
>newline(2)=customer.id
>Thisform.combo2.refresh
>
What on earth is NewLine? Is it a global array of some sort? Since the combos both use fields from the same table as their RowSources,why not set the BoundColumn of the first column to 2 and set the BoundColumn of the second combo to 1. Then, in the valid of either combo, all you have to do is set the value of the other equal to this.value.
Of course, I have no idea what on earth the controlSources of these combos are meant to be doing ;-)
Marcia
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only