Re: MultiValue Visual Basic



This particular project is just using Access and VB, nothing else. The
Functions I have written just work on a VB Dynamic array (redim'd when you
insert or delete into/out of the highest-level attribute). Each element of
the VB array contains delimited ASCII text, the same as attributes in UV
files. I even used chr(253) and chr(252) as delimiters (because I have no
imagination).

As mentioned, the functions are called MVDCount, MVLocate, MVExtract,
MVInsert, MVReplace, and MVDelete, which replicate those same functions from
PICK. Like I said, though, it's just ASCII text in a VB Array - if I was
going to actually Read/Write to/from UV files, I'd use UniObjects.

Dave

<michael@xxxxxxxxxx> wrote in message
news:1130381985.923131.181540@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Are you moving the data from Access to Pick to work on it? or
> replicating the functionality in VB itself working with delimited ASCII
> strings?
>


.



Relevant Pages

  • Re: How can I quickly copy a CONST to a typed VAR
    ... Or an invalid pointer ... A dynamic array is lain out like this in memory: ... ElementCount aren't there. ... without the bookkeeping information that a dynamic array has. ...
    (alt.comp.lang.borland-delphi)
  • Static Array versus Dynamic Array, Multi-Dimensional Memory Layout and speed.
    ... dynamic array access could be faster than static array access. ... I think what Dr.Bob might be seeing is a different layout for static array ... sequantially, but more like randomly, which has performance penalties. ...
    (alt.comp.lang.borland-delphi)
  • Re: Representing Dynamic Arrays in VB.NET
    ... We see here that a dynamic array is created with no data. ... This is where string data must be separated from structure. ... The first element is the string "first". ...
    (comp.databases.pick)
  • Re: Writing array to disk with Put
    ... >arrays to unicode strings before writing, ... >But the docs say that you get the array descriptor written ... >if you try to use a dynamic array. ... Variant and returns a pure Byte Array ...
    (microsoft.public.vb.winapi)
  • Re: Passing Arrays to SUBs
    ... If you're working with dynamic arrays (those that are not sized in the Dim statement -- sizing is done with Redim), you'll need to ensure that the array is allocated before attempting to access one of its elements. ... ' IsArrayEmpty ... ' This function return TRUE or FALSE indicating whether Arr is a dynamic array. ...
    (microsoft.public.excel.programming)