Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing determined record
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00479127
Message ID:
00481212
Vues:
21
Hi Folks,

Could you not just group by int(recno()/lnRecsPerPage)

Cheers,

Andrew

>>>I should read the original message first (I replied on Barbara's reply :(). Yes, seems like the problem is to print exactly 10 records on each page. I think, this could be done by creating "fake" group by some variable. Or, the original cursor could be prepared the way, that each n*10th+1 record would be marked somehow as a new group, e.g.
>>>
>>>myCursor
>>>
>>>Field1,2, etc.     lNewGroup
>>>record1             .f.
>>>record2             .f.
>>>//-//
>>>record11            .t.
>>>
>>>
>>>This is just an idea, but I think, it should work.
>>>
>>>HTH
>>
>>
>>Nadya,
>>
>>I'm sorry for not reply you as quickly as I could, I've been out of town.
>>Your idea that each n*10th+1 record would be marked somehow as a new group,
>>after that how can we run the report, Can we run it in the looping of marking the records ? As long as I know that we should gather the data first then run the report.
>>
>>
>>best regards,
>>
>Budianto,
>
>Ok, now you confuse me. Could you please re-describe your problem again?
>If you want to print exactly 10 records on each page, you have two options:
>1) If your detail line is the predefined width (e.g. no stratch with overflow or supress line if blank), you can put enough blank space and just make it to print 10 records. You have to experiment a little bit, before you'll get it right.
>
>2) If you have different width of each record (e.g., you have stratch with overflow option checked, for instance), you can prepare your data in advance to mark each set 10th+1--20th records as New Group (e.g. give first 10 records number 1, 21-30 - number 2, 31-40 number 3, etc.). Then you can set a new group
>by this field.
>
>If you meant the number of copies, you have to follow advices Barbara and I gave you already.
>
>Did it clarify things for you or mess them completely? :)


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform