Skip to Content
0
Former Member
Aug 04, 2009 at 07:04 PM

PASSING SHARED VARIABLES FROM SUB TO MAIN

21 Views

i have a string field where i would like to pass from a sub to the main

in the sub i have the following formula

whileprintingrecords;

shared stringvar partnumb1 := partnumb1 +;

in main i have

whileprintingrecords;

shared stringvar partnumb1;

partnumb1

what is happening is i retrieve the first record

1

then the next is

2

so it displays

12

then nexgt is 3

then i get

123

what does it keep adding the above field, do i need a reset value in this

how do i do that?