One field or another field

A

Aurora

I am using Access 2000

I created a form with a subform based on a 1 to many
tables. In the accounts table I have two fields; one for
domestic Tele no [(xxx) xxx-xxxx]. But International tele
numbers are different so I created a field for ITele no
with no parameters. Right now when the form is called up
it asks for a domestic telephone number. If the tele no
is in the Accounts table it bring us the basic customer
information for that number. But if it is a international
tele number it won't work. How do I make a field that
will ask if it is domestic or international and put the
tele number into the correct field. I want either or tele
no to bring up the customer information.

Does anyone have any ideas?

Aurora
 
A

Adrian Jansen

Something like

txtTele = nz(Tele,ITele)

should work.

But I would query the wisdom of having two fields for telephone numbers.

--
Regards,

Adrian Jansen
J & K MicroSystems
Microcomputer solutions for industrial control
 
A

Aurora

Thank you for your answer - I thought I tried this but
will try this again.

I am open to any other suggestions as to how to pull up
customer information from either a domestic tele # or an
international tele number. If you would like to e-mail me
I am at (e-mail address removed)

Again thank you for answering.
Aurora


-----Original Message-----
Something like

txtTele = nz(Tele,ITele)

should work.

But I would query the wisdom of having two fields for telephone numbers.

--
Regards,

Adrian Jansen
J & K MicroSystems
Microcomputer solutions for industrial control
I am using Access 2000

I created a form with a subform based on a 1 to many
tables. In the accounts table I have two fields; one for
domestic Tele no [(xxx) xxx-xxxx]. But International tele
numbers are different so I created a field for ITele no
with no parameters. Right now when the form is called up
it asks for a domestic telephone number. If the tele no
is in the Accounts table it bring us the basic customer
information for that number. But if it is a international
tele number it won't work. How do I make a field that
will ask if it is domestic or international and put the
tele number into the correct field. I want either or tele
no to bring up the customer information.

Does anyone have any ideas?

Aurora


.
 

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

Similar Threads

Copying from a form to a table 1
Form 3
Like a pivot table 7
Listing Unlike Items 5
Help - Can't create a from from 2 Dbs 5
Update Query Taking time 3
Copying infor 1
Report Help 2

Top