Question : Force feeding data to an ODD page number

Hi,

I have an issue where I print double sided reports each day but within the report I need to force data that finishes printing on an odd page to print on the next odd page and not the even page as we need to separate this data to several different people.

Example:

Vendor 1 prints from page 1-9
Vendor 2 prints from page 10-14

What I would like to do here is have the system start printing Vendor 2 from page 11 and not page 10.

I currently have this working grouped by STORE but I now need the same thing to happen with each VENDOR in each SOTRE.

I have this formula: PageNumber Mod 1 = 1 at the store level and this worked perfectly, this was entered in the SUPPRESS(No Drill Down) section of that group in the Section Expert part of Crystal. I simply copied this  to the vendor and thought it would do the same thing but it doesn't.

Any help would be much appreciated.

Regards,

Ken

Answer : Force feeding data to an ODD page number

If it works without problems then I would not change it. You should find more important reason to incorporate DBCs into existing application than just the RI or something similar.

Autoincrementing field does not need DBC (it is a part of DBF structure) and DBC does not delete temporary tables - either you or VFP must delete them. I would say DBC is not as useful as it should be... Even the RI must be generated separately as a code by RI builder. The FOREIGN KEY creation does not ensure RI.

So, use DBC when it is necessary, e.g. when you need to create views, when you need long field names, triggers, database events etc.

One thing I don't understand in your question is the sentence "during my process temporary tables are created and the deleted by OS". If you create the temporary table as a cursor then you don't need to delete it because VFP does it for you. Yes, it must be deleted manually after app crash but each VFP application should have some cleanup routine which deletes old temp files in temp folder. OS should not do this work and DBC does not help (but I may be missing something).

Random Solutions  
 
programming4us programming4us