>I am having trouble using a variable for the length on a replicate statement - passing it from a function to a report. Any clues? If I hard code a length in it executes perfectly.
A variable should work fine, even if it isn't an integer (the value is truncated to the integer portion). A sample of the problem might help finding the answer.
George
Ubi caritas et amor, deus ibi est