E
EagleOne
2003
I am moving my data from Excel to Access because I am learned of the magic of the "Join"
Saying that, I need to "adjust" data fields in Table1 vs Table2.
In Tables 1 & 2, are DLs from MFs, leading zeros are maintained on one but not the other. In
Table2, leading zeros are stripped.
Therefore, I want to add a column in Table1 that contains a stripped version of BCN. Thus table1
will contain 1) BCN (Original) and 2) BCN (LTrimmed).
In Excel, the formula used was an ArrayFormula:
{=MID(V2,MATCH(TRUE,MID(V2,ROW(INDIRECT("1:"&LEN(V2))),1)<>"0",0),255)}
How can I accomplish the same result in Access? There must be a workaround???
BCNOrig BCNTrim
0068870 68870
A corollary, will Access force me to import numbers as numbers when the data was stored/manipulated
as text? How do I best handle treating a field sometimes as a number (if Access forces me to do so)
but also as text during a compare?
TIA EagleOne
I am moving my data from Excel to Access because I am learned of the magic of the "Join"
Saying that, I need to "adjust" data fields in Table1 vs Table2.
In Tables 1 & 2, are DLs from MFs, leading zeros are maintained on one but not the other. In
Table2, leading zeros are stripped.
Therefore, I want to add a column in Table1 that contains a stripped version of BCN. Thus table1
will contain 1) BCN (Original) and 2) BCN (LTrimmed).
In Excel, the formula used was an ArrayFormula:
{=MID(V2,MATCH(TRUE,MID(V2,ROW(INDIRECT("1:"&LEN(V2))),1)<>"0",0),255)}
How can I accomplish the same result in Access? There must be a workaround???
BCNOrig BCNTrim
0068870 68870
A corollary, will Access force me to import numbers as numbers when the data was stored/manipulated
as text? How do I best handle treating a field sometimes as a number (if Access forces me to do so)
but also as text during a compare?
TIA EagleOne