Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Comparing number strings and more

Status
Not open for further replies.

nvtjellis

Programmer
Mar 6, 2001
24
US
I need to read the {file.idcode)that is a number string.
Read NEXT (file.idcode}.
Make both numeric.
Subtact the 1st. {file.idcode} fromt the NEXT file.idcode).
My array are field1 - field10
Use the differance as the counter and as an increment in a loop.
Here is my suedo code for the loop:
Do;
If counter < 11
Local NumberVar I:= counter;
While I <= counter
{temp_file} = ({file.idcode}} + 1)
myarray (I) := {temp_field}
Exit While;
I := I - 1;
Else counter = 10;
Enddo;
The assigned parent IDCODES are scattered. I want to show upto 10 unassigned IDCODES in the report so the can be assigned. The application "ProCare" reports do not have a report showing unassigned IDCODES......
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top