I need to access the data from 1, 2, 3, 4 records previous to the current record. This is what I have come up with so far.
my $current=$rec{'$keyfield'}-1;
my %rec2 = &get_record('$current');
I am not very well versed in perl, but I think this should work... any suggestions?
my $current=$rec{'$keyfield'}-1;
my %rec2 = &get_record('$current');
I am not very well versed in perl, but I think this should work... any suggestions?
