Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>Sorry about this, Vlad. It's a beautiful day (25 degrees and sunny) and
>I am in working all day.
The same goes for me today. :)
>I've actually found SELECT and INSERT with arrays to be extrememly
>useful. The only caution would be to check that the SELECT returned
>some rows and, if not, issue a DECLARE {array} so that subsequent array
>operations won't blow up. It's actually kind of cool, because if the
>SELECT statement returns no rows, then there is no array. If you then
>declare the array, it is scoped to what the original array was, not
>necessarily to the current program. Here's what I mean:
Thank you. In fact, I avoided SELECT with arrays when I found out that it runs out of memory very fast and I had to provide alternative code for large amounts of data. And since I had to write alternative code, there was no reason to write code with SELECT-array. But this was in FoxPro 2.x and I was curious if it's the same in VFP.
Vlad
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement