Wristdoc,
"I don't quite understand the syntax."
This is one reason why it would have helped for you to post
your original query for us to use instead of our
imaginations.... That said, field1 or oldfield1, etc. are
our way of representing your table's fields without knowing
the actual field names in your table.
Now, for more detail on how to solve your problem: You can
create new fields in an answer table by using...
calc <something here> as <new field name here>
...in one of the fields of the query.
<new field name here> is simply the name you would like to
give the new field in your answer table, in your case, it
would be Notes.
<something here> could be a variety of things. Since you
want an A20 field, you could use 20 x's as Steve suggests,
or 20 spaces as others have suggested or any 20 alpha
characters (be sure to use letters - using numbers would
create a longint or number field). Another option is to use
the reserved word BLANK. This will create an empty field
with the specified name in your answer table - the key here
is that the field type and size will match exactly the field
where you put the calc statement. So, if you happen to have
another A20 field in your table, you could put the statement
calc BLANK as Notes
in that field, and you'll end up with an empty A20 field
named Notes in your answer table. Do some testing with
these options, and you'll get the idea pretty quick.
Hope this helps,
Liz
---
Get the lead out before you reply
> I don't quite understand the syntax. Are field1 and field2 part of the
> original answer table.... and field3 is a new field?
> qvar=Query
> :datadir:anstbl.db |oldfield1|oldfield2|Notes|
> | check |check |check calc " " as
> notes|
> endquery