Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Randome Access Trouble
#21
You've got your words mixed up in that program.

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.
Reply
#22
I'm an idiot :lol:


------------------------



IT WORKS IT WORKS IT WORKS :bounce: :bounce: :bounce: :bounce: :bounce:
·····································LINEAR INC·····································
Ø-----------------------------------------------------------------------O
From Problem to Solution - We take the shortest distance
Reply
#23
glad i could help!

*peace*

Meg.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)