Getting Zip Code from Combo Box

S

Sandra

I am using the statement =GetName.column(x) in some form
controls to obtain data from a combo box. Everything
works fine except the zip code. In the underlying table
it is formatted as 12345-9876. Is there something else I
must do to get the zip code?
TIA,
Sandra
 
S

Sandra

That's what I'm doing, but it doesn't show up:
=GetName.column(7) should give me the zip code, but it is
blank. I thought there might be a formatting problem or
something else I must do.
Thanks,
Sandra
 
J

Jim Allensworth

Do you really have 8 columns in your combobox?

Remember the ColumnCount is zero based, so you might take a look at
that.

- Jim
 
J

Jim Allensworth

Really? A column is a column. A combobox doesn't distinquish between
datatypes. Or are you thinking of something else?

- Jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top