I am Looking for a way to load the Order bag Names and the key, and
the for from a CDX Index into a Arrary for Checking. I wish to see if
the Order bag Name is in the Index or not. I know how to create a new
Order bag Name, and Delete the Name. But can you load the Information
from the CDX Index for checking, and displaying.
Thank you
Jim
Checking to see if Order Name Exist or Not on a CDX Index
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Jim,
This code from FWH/ErrSysW.prg may help you:
This code from FWH/ErrSysW.prg may help you:
Code: Select all
for j = 1 to 15
if ! Empty( ( Alias( n ) )->( IndexKey( j ) ) )
cErrorLog += Space( 8 ) + ;
If( ( Alias( n ) )->( IndexOrd() ) == j, "=> ", " " ) + ;
PadR( ( Alias( n ) )->( IndexKey( j ) ), 35 ) + ;
( Alias( n ) )->( OrdName( j ) ) + ;
CRLF
endif
next