Z
Zetony
I need a code that will help me to separate numeric strings from other
numeric strings parentheses that are mixed up in one field within the table.
For instance:
(a) 68B (1,2) 69B(1,2) 70B(1,5-8)
(b) 1173.02(1.01, 1.04,71.08 etc)
(C) 110 (1)
These three examples shows a vivide pix of how the records are wrongly
stored in the table. I need to separate those in parentheses from those that
are not in parentheses. I have thousands of records that I cannot just create
a new field in the table and separate them manually.
Trying to use instring function, some have spaces while others don't, some
have letters some don't, some have decimal while others don't. Worst of all
their string lengths are not thesame. There is absolutely no uniformity for
those records in that field.
And I'm required to resolve this problem by creating a text box for those in
parentheses and those not in parentheses separately and name them
differently, ie they will function alike but separately. The user will enter
and retrieve their information from different textbox. The numerics that are
not in parentheses should be displayed in a different textbox from those in
parentheses. And I intend to put a strong check on the user so that he cannot
enter data any how he wants.
I'm not yet a Pro in Access and VB this is my first program. Please, can
someone out there help me out from this mess!
numeric strings parentheses that are mixed up in one field within the table.
For instance:
(a) 68B (1,2) 69B(1,2) 70B(1,5-8)
(b) 1173.02(1.01, 1.04,71.08 etc)
(C) 110 (1)
These three examples shows a vivide pix of how the records are wrongly
stored in the table. I need to separate those in parentheses from those that
are not in parentheses. I have thousands of records that I cannot just create
a new field in the table and separate them manually.
Trying to use instring function, some have spaces while others don't, some
have letters some don't, some have decimal while others don't. Worst of all
their string lengths are not thesame. There is absolutely no uniformity for
those records in that field.
And I'm required to resolve this problem by creating a text box for those in
parentheses and those not in parentheses separately and name them
differently, ie they will function alike but separately. The user will enter
and retrieve their information from different textbox. The numerics that are
not in parentheses should be displayed in a different textbox from those in
parentheses. And I intend to put a strong check on the user so that he cannot
enter data any how he wants.
I'm not yet a Pro in Access and VB this is my first program. Please, can
someone out there help me out from this mess!