While migrating all our sites to 40rc2, I am experiencing something that
might be a bug in A4D.
In some instances "Selection to array" does create all output arrays but
some of them with no record data of the current selection.
4D standalone 2003.9 in a test environment
5 records in a table selection
All fields from the same table
Commands:
use set ("Tariffs")
order by([Tariffs];[Tariffs]Rate)
selection to
array([Tariffs]ID;$RIDs;[Tariffs]Code;$RCodes;[Tariffs]Kind;$RKinds;[Tariffs
]Rate;$RPrices;[Tariffs]Currency;$RCurrencies;[Tariffs]Occupancy;$RPersons;[
Tariffs]AdditionalGuestRate;$RSup;[Tariffs]StayRate;$RStayRates;[Tariffs]Min
imumStay;$RStayMin)
Output of dump locals
$RCodes ARRAY STRING(21;5) [0] {"", "CATEG1TA", "CATEG2TA",
"CATEG3TA", "CATEG4TA", "CATEG5TA"}
$RCurrencies ARRAY LONGINT(0) [0] {0}
$RIDs ARRAY LONGINT(5) [0] {0, 72, 73, 75, 74, 76}
$RKinds ARRAY LONGINT(5) [0] {0, 1, 1, 1, 1, 1}
$RPersons ARRAY LONGINT(0) [0] {0}
$RPrices ARRAY REAL(5) [0] {0, 38, 51, 55, 65, 74}
$RStayMin ARRAY LONGINT(0) [0] {0}
$RStayRates ARRAY BOOLEAN(5) [0] {False, False, False, False, False,
False}
$RSup ARRAY REAL(5) [0] {0, 0, 5,5, 5,5, 5,5, 5,5}
--
Robert Ernens
Look2BookOnline® - HCTBA Consulting
Tél.: +33.870.58.95.80
GSM : +33.6.11.78.44.68
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/