pick field based on number of clicks

jeudi 23 avril 2015

Hi All,

This is simple task but I can't get my head round it.

I'm incrementing a counter every time I click on a combobox by using the on click event and this code:

Code:

POcount = POcount + 1
I have 5 fields on my form: GWS1, GWS2, GWS3, GWS4 and GWS5.

I want to store the value of the combobox when clicked into the correct GWS field.

For example: If I click the combobox 3 times it would store the value of the combobox after the 1st click in GWS1, after the 2nd click in GWS2 after the 3rd click in GWS3.

I tried
Code:

me."GWS & POcount" = combobox1
but that's invalid syntax.

Cheers

Steve
pick field based on number of clicks

0 commentaires:

Enregistrer un commentaire

Labels