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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inserting Blank Records in Details Section

Status
Not open for further replies.

somayajula

Programmer
Oct 17, 2002
1
US
Hi,

I need a solution to insert some blank records in details section. I want to have 10 records in the details section, if the records from database are less than 10 records, ex: 4 records, remaining 6 should be blank. Hope you understand what I'm trying to do.

Please help me in this scenario.

Thanks

MS
 
one sulotion uses variables in a formula
WhilePringingRecords;
numbervar i;
numbervar c;
stringvar s:="";

c:= count({Table.field},{table.group})
if c < 10 then (
for i:=c+1 to 10 do (
s:= s + chr(13) + chr(10)));

s

place this formula in the details section and make sure it is set to &quot;Can Grow&quot; Editor and Publisher of Crystal Clear
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top