Array

E

Ezekiël

Hi,

Can someone help me with creating an array?

I would like to compare strings which are typed in a textbox with a list of
values stored in a seperate table. For example: if a number is typed in the
textbox like 123456, then after update it must lookup the value in another
table for if it exist. If it exist then allow the typed value to be saved,
if not a message or something else may appear.

How can i achieve this?

Greetings,

Ezekiël
 
D

Dev Ashish

if a number is typed in the
textbox like 123456, then after update it must lookup the value in
another table for if it exist. If it exist then allow the typed value
to be saved,

Look at 'DLookup' in Help. Use the AfterUpdate event to perform the lookup
and cancel the typed value if necessary.

-- Dev
 

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