Move data in memory

K

Kate

is there a way of moving the contents of a data record
into another data record with same length but a different
structure?

Like having a structures like:

type xx
v1 as byte
v2 as byte
end type

type yy
v1 as integer
end type

dim x1 as xx
dim y1 as yy

yy.v1 = 1000

x1 = y1

Many years ago I programmed in PL/1.... here you could
read the same data area through different record
structures. I am looking for the same facility.
 
K

Kate

How about a fast way to move data to an identical record
in a table?

If I create a table with the record structure matching the
data area om my data type.
-----Original Message-----
Hi,
Check out the LSet statement in Help.
It will allow you to do this.

--
HTH
Dan Artuso, Access MVP


"Kate" <[email protected]> wrote in
message news:[email protected]...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top