Thanks Wol...

It looks good and closely resembles Gerry's answer.

--Bill

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Wols Lists
Sent: Thursday, September 29, 2011 6:41 PM
To: [email protected]
Subject: Re: [U2] Reading Dictionary Items

On 29/09/11 19:43, Bill Brutzman wrote:
> I would like read open a (large) dictionary, read the line items, and write 
> back the @ID field to Attribute <4> (the column heading) of each.
> 
> Syntax help would be appreciated.

I'm guessing SQL might be your best bet - that should be a simple update query.

But if you want to use BASIC, just

OPEN "DICT", FILE TO BLAH
SELECT BLAH
LOOP
   READNEXT ID SETTING MER
   WRITEV ID TO BLAH, ID, 4
WHILE MER REPEAT

You'll need to clean that up, but there's your basic program.
> 
> --Bill

Cheers,
Wol
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to