hi guys,
i have a form that contains two controls,
one is a combo box which contains dailing code list
and the other one contains phone number.
both controls are unbound.
i want to store the values from the two controls in one filed on my table.
the reason i wanna do so is because the dailing code might contain two or three digits,
in case it's two, the user maight enter space before or after the two digits, i want to prevent this bacause
i want to be able to srech clients by phone number.
the result stored in the table should look like this:
900-000000
_00-000000
(the first digit is optional the rest are required)
i know that storing concatenated data in one filed isn't recomandded but
since access itself enables input mask just like this for phone numbers i guess it's ok.
i didn't find the way to store this values together,
if anyone have an idea.
thanks
i have a form that contains two controls,
one is a combo box which contains dailing code list
and the other one contains phone number.
both controls are unbound.
i want to store the values from the two controls in one filed on my table.
the reason i wanna do so is because the dailing code might contain two or three digits,
in case it's two, the user maight enter space before or after the two digits, i want to prevent this bacause
i want to be able to srech clients by phone number.
the result stored in the table should look like this:
900-000000
_00-000000
(the first digit is optional the rest are required)
i know that storing concatenated data in one filed isn't recomandded but
since access itself enables input mask just like this for phone numbers i guess it's ok.
i didn't find the way to store this values together,
if anyone have an idea.
thanks
