Qbasicnews.com

Full Version: Randome Access Trouble
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
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.
I'm an idiot :lol:


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



IT WORKS IT WORKS IT WORKS :bounce: :bounce: :bounce: :bounce: :bounce:
glad i could help!

*peace*

Meg.
Pages: 1 2 3