Hi, thanks for the Answer
Please post full code that demonstrates the error you're talking about...
I am 100 % shure the code is OK
Why:
My_arrray(3) = "" is empty !!!
But NOT ALLWAYS, only some Versions/Builds of my Database....
Build 6.3.2307...wrong
Build 6.3.2308...OK (the same code, nothing changed !!!!)
I can post my code , but it is an LARGE DATABASE
MODULES-size as txt ~5MB
Code lines:
la_RZD_Flds As Variant
la_RZD_Flds = Array("S1", "JJANOXXX", gkII_cKNR, "SJ", "KW", "S", gkII_cIDV,
"MODELL", "FARBA", "S2", "ZP", "OBT", "OBN", "RZD_S", "RZD_N", "Rvs_in_id0",
"Rvs_in_id", "ZP1", "ZP2", "KRC", "FAD", "STAV_X")
when ONE-BUILD was running
Item "FAD" was empty...
"Dirk Goldgar" wrote:
> "PACALA_BA" <(E-Mail Removed)> wrote in message
> news:45DCB1A0-AC3A-474C-AD4F-(E-Mail Removed)...
> > ACCESS 2003 , WIN XP SP3
> > SINGEL USER
> > SECURE MDW
> > Todays example....
> > My_arrray = array("Item0" ,"Item1","Item2","Item3","Item4")
> > My_arrray(3) = "" (is empty !!!)
>
>
> I don't check you. Here's some test code and results:
>
> '----- start of code -----
> Sub ArrayDemo()
>
> Dim My_array As Variant
> Dim i As Integer
>
> My_array = Array("Item0", "Item1", "Item2", "Item3", "Item4")
>
> For i = LBound(My_array) To UBound(My_array)
> Debug.Print i, My_array(i)
> Next i
>
> End Sub
> '----- end of code -----
>
> And the results printed in the Immediate window are:
>
> 0 Item0
> 1 Item1
> 2 Item2
> 3 Item3
> 4 Item4
>
> Please post full code that demonstrates the error you're talking about.
>
> --
> Dirk Goldgar, MS Access MVP
> www.datagnostics.com
>
> (please reply to the newsgroup)
>
>