04-18-2003, 11:56 AM
You've got your words mixed up in that program.
You declared a TYPE:
Then you declared a record of that TYPE:
So far, so good.
The mistake here:
is that CtcRecord is *not* your variable. It's your TYPE.
This would not give you an error.
See?
*peace*
Meg.
You declared a TYPE:
Code:
TYPE CtcRecord
.
.
.
END TYPE
Then you declared a record of that TYPE:
Code:
DIM SHARED ContactRecord AS CtcRecord
So far, so good.
The mistake here:
Code:
Index(X).ctcname = CtcRecord.ctcname
is that CtcRecord is *not* your variable. It's your TYPE.
Code:
Index(X).ctcname = ContactRecord.ctcname
This would not give you an error.
See?
*peace*
Meg.