HomeForum
Welcome, Guest

Add a record number to an output record
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Add a record number to an output record

Add a record number to an output record 1 year, 2 months ago #2110

  • West
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Good morning,

I know I can add a record number to an output record from GetSystemVariable('RECORDNUMBER') but this appears to be the actual number of the input file.

However, I need to add a sequential number to the output table (SQL).
example: Input - has 1000 records numbers 1-1000
Output is filtered and has 250 records numbered 1-250

I can write a query in SQL of course, but I'd rather do this self contained in VIP if possible.

Is there a function available to accomplish this?

Thanks,
JW

Re: Add a record number to an output record 1 year, 2 months ago #2111

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2191
  • Karma: 12
Please download and install latest version than try

GetSystemVariable("OUTPUT_RECORDNUMBER")

Please Let us know the outcome
Peter
  • Page:
  • 1
Time to create page: 0.15 seconds

Testimonials

Visual Importer ETL  saved us 25-30 hours per month. Much of that comes from being able to build in error checking into the scripting. I've even been able to script corrections that run on the fly triggered by the error checking on incoming order files.

Gene Kovacs,
Director of Technical Business Operations,
A2B

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top