To use page_number and total_page_number  built-in functions in a variable

Hi,
Our requirement is to leave a blank page after odd no of pages in a repeating frame.(eg after each invoice). I am able to do it by giving a page break after the last object when pages are odd.Problem is that report counts the blank page also and displays in the field whose source is total page number.Is there any way i can give a blank page and show correct no of pages.

Hi Dave,
Thanks for reply.
I have been able to get a blank page as mentioned in my question, by putting an object at end and giving a page break when pages are odd. Problem is i need to exclude this page count from total no of pages.
eg. For one invoice we have 3 page output and i include a blank page after this. Our requirement is to show total no of pages as 3 not 4.but total no pages function includes blank page also in count and shows as 4. is there any way we can control total no of pages behaviour?
thanks

Similar Messages

  • Do the Mac minis support using AirPlay and all of its functions?   I thought I saw a comment yesterday that suggested the Mac mini (particularly the late 2012 models) does not support AirPlay.  Thank you.

    Do the Mac minis support using AirPlay and all of its functions?   I thought I saw a comment yesterday that suggested the Mac mini (particularly the late 2012 models) does not support AirPlay.  Thank you.

    Hello,
    AirPlay Mirroring
    Requires a second-generation Apple TV or later. Supports the following Mac models:
    iMac (Mid 2011 or newer)
    Mac mini (Mid 2011 or newer)
    MacBook Air (Mid 2011 or newer)
    MacBook Pro (Early 2011 or newer)
    http://support.apple.com/kb/HT5444

  • When recording a video using quicktime and my built in camera (isight) how come the program wont let me use my audio interface rather than the built in mike?

    when recording a video using quicktime and my built in camera (isight) how come the program wont let me use my audio interface rather than the built in mike?

    when recording a video using quicktime and my built in camera (isight) how come the program wont let me use my audio interface rather than the built in mike?
    The basic answer is that Apple has not programmed the capture routine with this capability. As such, you can always send QT feedback requesting this feature be added as a future enhancement.

  • How to use Compare and Swap (CAS) atomic function(Solaris specific) in C

    Hi,
    I have found cas32() atomic function in (solaris 10) </usr/include/sys/atomic.h> (and also there is another atomic.h header file in </usr/include/atomic.h> but this header file does not have any cas32() function declarations) the declaration of cas32 in <sys/atomic.h>
    is as follows
    extern uint32_t cas32(uint32_t *target, uint32_t cmp, uint32_t newval);
    extern ulong_t caslong(ulong_t *target, ulong_t cmp, ulong_t newval);
    extern uint64_t cas64(uint64_t *target, uint64_t cmp, uint64_t newval);
    extern void casptr(void target, void cmp, void newval);
    extern uint8_t cas8(uint8_t *target, uint8_t cmp, uint8_t newval);
    But the problem is when iam using these functions in c programs and compiling
    using gcc it is showing the following error.
    Undefined first referenced
    symbol in file
    cas32 /var/tmp//ccQcsnev.o
    And if i use the function other than cas32 group of instruction
    such as atomic_or_uint()
    whose declaration is extern void atomic_or_uint(uint_t *target, uint_t bits);
    in <sys/atomic.h> it is giving no error where as for CAS32 it showing as undefined symbol.Why it is giving like that we are not able to know.Is it the case that CAS32 instruction only available in Kernel mode and not available to user mode.Please inform us if anyone knows how to use cas32() instruction in the user C programs.As this is usefull for writing Nonblocking versions of stacks and Queues.Is there any way to write
    our own atomic functions?
    Rama

    You are trying to use the old kernel-only CAS functions, use the correct ones like:
    atomic_cas_32.
    DS

  • How do you use the windows User32.dll Library functions to read variables from other applications that are running

    I am trying to read a text box from a programme running at the same time as my Labview application using calls to the Windows
    User32.dll. I believe I need to find the window handle for the 'form' containing this text string and use this together with
    various other defined input variables to access the sting.
    I have no experience of using this 'Call Library Function Node', but have an understanding of the 'C' programming language. Does anyone have
    example Labview code showing how this might be done.
    Thanks

    If you're trying to access information that's being displayed in the window of another application and that application has no ActiveX interface, then yes, Windows calls can be used. There's a very good example on calling DLLs that ship with LabVIEW. Open the Example Finder (Help->Find Examples) and switch to the Search tab. Enter "Call" in the search box and open the VI "Call DLL". Run the VI, select any of the examples, and click the "Open Example VI..." button. That shows you how to call a DLL.
    Now, given that you have no experience in calling DLLs, have only an "understanding" of C (which to me means you have never written something like a DLL), and don't seem to know that much about what Windows functions you may need, you're going to find this route pretty difficult, especially since you have to deal with Windows API calls, which are not always that easy to do from LabVIEW.
    Let me propose an alternate solution. Go over to http://www.autoitscript.com/autoit3/ and download AutoIt. This is an automation tool that allows you to automate just about anything you want. It has an ActiveX interface that you can call from LabVIEW. I've attached an example VI that shows you how to use it to get the value of a text box from one of the tabs in the computer "System Properties" control panel applet.
    Attachments:
    AutoIt Example (v7).vi ‏25 KB

  • How to call the built in functions from flex?

    I want to use some of the Built in functions like the twelvesprints.getActivityOwnerId() in flex. From the java example i could make out that we needed to import some classes to do this but was unable to find them for flex.

    You can download the SWC file for Flex Method app here:
    https://sandbox.12sprints.com/FlashMethodLib.swc
    Java samples are located at
    https://streamwork.com/api/Java.zip
    Method exaples are available at:
    https://streamwork.com/api/methods/com.streamwork.hello_world.zip
    https://streamwork.com/api/methods/com.streamwork.constants.zip
    https://streamwork.com/api/methods/com.streamwork.using_arrays.zip
    com.streamwork.testFlash

  • How can I operate  multi displays on my Imac 21.5 quad core 2.5 and have each display function independently?

    how can I operate  multi displays on my Imac 21.5 quad core 2.5 using Lion and have each display function independently?

    Below are some converters/adapters to look at.  If these look like they may work:
    USB 2.0 to HDMI Audio Video 1080P Adapter for Windows and Macbook
    Matrox DualHead2Go D2G-A2D-IF (or look here)
    These should allow you to run multiple displays in extended display mode.  Note that these use HDMI as an output so you would need some additional adapter to conver HDMI to whatever your displays require.  Of course these suggestions are all academic if such an adapter doesn't exist.
    Update:
    I just reread your last post and I am confused.  Is it only your TV that you are trying to run in extended display mode?  I thought you wanted more than two displays.  If only  the TV it should just work if you are not using mirrored displays.  Your Displays Arrangement tab should show both your main screen (one with the little whith menu bar) and the TV.  Set the proper resolution and refresh rate for the TV using it's Displays preference window.  That is all you need to basically do (ignoring overscan/underscan problems).
    Note, if you are using Lion then I have heard that when using full screen mode in Lion additional screens show nothing.

  • Length of a string without using any built-in functions

    code that returns the length of a string without using any built-in functions.
    thanks
    Sam

    A string is internally represented by a character array.  An array of characters will reside on the stack, not the heap.  Yes, we always learned that String is a reference type, but what goes on in your memory might still surprise you...
    A struct is internally represented by only it's private properties, sequentially on the stack.
    So basically, what I thought is happening by messing with the structlayout: is only tricking our programming a bit into thinking that the top X bytes on the stack represent a chararray, while actually we put them there as a string.
    Wrong. True. And wrong.
    A string is internally represented by, in that order, an array length, a string length, the chars. None of them resides on the stack.
    An array is internally represented by, in that order, an array length and the chars. None of them resides on the stack.
    When you use the FieldOffset attribute to handle the string as a char array, you don't get anything right:
    - the Length returned is the "array length" of the string, which is equal to the string length + 1.
    - the chars returned by the array indexer are shifted by 2 chars (the length of the "string length" field).
    You can use the FieldOffset to make that work, but it needs a little bit more work.
    unsafe static int Test()
    string myString = "This string may contain many string inside this string";
    string testString = "string";
    int countResult = 0;
    fixed (char* myChars = new StringToChar { str = myString }.chr, testChar = new StringToChar { str = testString }.chr)
    // The 2 first chars of the array are actually the string length.
    int myCharsLength = myChars[1] << 16 | myChars[0];
    int testCharLength = testChar[1] << 16 | testChar[0];
    for (int i = 0; i < myCharsLength - testCharLength + 1; i++)
    if (myChars[i + 2] == testChar[2])
    for (int j = 1; j < testCharLength; j++)
    var c = testChar[7];
    if (myChars[i + 2 + j] != testChar[j + 2])
    goto endOfCharAnalyses;
    countResult++;
    endOfCharAnalyses:
    continue;
    return countResult;

  • Using SSRS Built in Functions in SharePoint

    Hi there,
    I currently have a number of reports deployed on a SharePoint site at work. I would like to monitor who actually uses which report and when they ran the report and also how long the report ran for. This is for auditing purposes and getting an idea
    of the performance of these reports.
    I came across the following built in functions on SSRS; UserID, ReportName, ReportServerUrl and ExecutionTime. Is it possible to use these functions somehow in SSRS & SharePoint whenever someone accesses a particular report and perhaps write this
    information to a SharePoint list within our SharePoint site.
    If this is possible, how would I go about doing this?
    Also, some of our reports run off parameters, is it possible to capture what parameters were used as well?
    Any help would be much appreciated. Thanks.  

    you can get most of these information from executionlog tables available from reportserver database
    http://www.mssqltips.com/sqlservertip/2722/sql-server-report-server-2008-r2-execution-log-reports/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Can i make a book in iPhoto without using any of the built in layout templates, which are too limiting when i have already cropped my pictures to show just what I want. Ideally I just want to drag and drop and arrange and size the pictures myself

    Can i make a book in iPhoto without using any of the built in layout templates, which are too limiting when i have already cropped my pictures to show just what I want. Ideally I just want to drag and drop and arrange and size the pictures myself

    If you have Pages you can create customs pages for your book as TD suggested. If you have Pages from iWork 09 or 11 this app will add 80 or so additional frames to those offered:  Frames and Strokes Installer. Don't use it on the latest Pages version, however.
    This tutorial shows how to create a custom page with the theme's background: iP11 - Creating a Custom Page, with the Theme's Background for an iPhoto Book.  Once the page is complete to get it into iPhoto as a jpeg file follow these steps:
    Here's how to get any file into iPhoto as a jpeg file:
    1 - open the file in any application that will open it.
    2 - type Command+P to start the print process.
    3  - click on the PDF button and select "Save PDF to iPhoto".
    NOTE:  If you don't have any of those options go to Toad's Cellar and download these two files:
    Save PDF to iPhoto 200 DPI.workflow.zip
    Save PDF to iPhoto 300 DPI.workflow.zip
    Unzip the files and place in the HD/Library/PDF Services folder and reboot.
    4 - select either of the files above (300 dip is used for photos to be included in a book that will be ordered).
    5 - in the window that comes up enter an album name or select an existing album and hit the Continue button.
    That will create a 200 or 300 dpi jpeg file of the item being printed and import it into iPhoto. For books to be printed choose 300 dpi.

  • How to use a mysql built-in function with dataprovider

    hi.
    I want to use a mysql built-in function, for example, MD5() on a column when updating a table with dataprovider.
    Something like this doesn't work:
    MyDataProviderOne.setValue("tablename.field_name", "MD5('some text')");
    How should it be done?
    thanks.
    Mike.

    hi.
    thanks. this helped, but I'd like to use also different functions, that's why, I'd rather do it by MySQL built-in functions with dataprovider... Is there any way to do that?
    best regards.
    Mike.

  • HT4686 How can I publish my website developed using iWeb and have all functions of the blog page work as it did with MobileMe?

    I have developed a website using iWeb and it includes a blog page selected from stock pages in iWeb.  I'm publishing it with GoDaddy and when I do that the interactive functions of the blog page don't work. (Adding comments and photos as well as searching).  Is there any simple way to host this site somewhere so that those functions work?

    No, because all those functions were MobileMe only and now that MobileMe has gone, they won't function any longer.
    To enable these to function, you either need to add them yourself or change your blogging platform to something else such as WordPress etc., and create a link from iWeb to your WordPress blog or embed the blog page using iframe into your iWeb site.
    Commenting systems such as Disqus or http://www.intensedebate.com work quite well.

  • Bad performance due to the use of AGO and TO_DATE time series functions

    Hi all,
    I'm building an OBI EE Project on top of a 1TB DW, and i'm facing major performance problems due to the use of the AGO and TO_DATE time series functions in some of the Metrics included on the reports. I discovered that when a report with one of those metrics is submited to the DB, the resulting query/explain plan is just awful!... Apparently OBI EE is asking the DB to send everything it needs to do the calculations itself. The CPU cost goes to the roof!
    I've tried new indexes, updated statistics, MV's, but the result remains the same, i.e., if you happen to use AGO or TO_DATE in the report you'll get lousy query time...
    Please advise, if you have come across the same problem.
    Thanks in advance.

    Nico,
    Combining the solution to view the data in dense form (http://gerardnico.com/wiki/dat/obiee/bi_server/design/obiee_densification_design_preservation_dimension), and the use of the lag function (http://gerardnico.com/wiki/dat/obiee/presentation_service/obiee_period_to_period_lag_lead_function) appears to be the best solution for us.
    Thanks very much.

  • Pls explain me the use and purpose of following Function modules

    pls explain me the use and purpose of following Function modules
    1. G_MAX_PERIOD_AND_OFFSET_GET
    2.  DEQUEUE_E_TABLE
    3. FI_COMPANY_CODE_CHECK
    4. G_PERIOD_GET
    5. alv_display_function
    6. G_SET_GET_ID_FROM_NAME
    thanks ,
    phyrose

    1. <b>G_MAX_PERIOD_AND_OFFSET_GET</b>
    For given No. of period & periods it gives the offset
    <b>2. DEQUEUE_E_TABLE</b>
    To Unlock the table records
    <b>3. FI_COMPANY_CODE_CHECK</b>
    To validate Company Code
    <b>
    4. G_PERIOD_GET</b>
    Returns no. of Posting period & Special period for give company code, posting date & ledger
    <b>5. alv_display_function</b> -
    No such FM exists
    <b>
    6. G_SET_GET_ID_FROM_NAME -</b> Use this module to derive the internal set Id from the name that appears on the user interface, for example, in order then to import the set (see the function group documentation).
    The function module first determines a candidate list of sets based on the set name and the class that might have been specified that could match the set name. The class can also be masked (e.g. 000+ for all FI-SL sets, including dynamic sets).

  • Use DO and AI function in one DAQ Device

    Hi, everyone
    I try to use DO and AI function in DAQ USB-6008.
    When I run my program it shows one error message as below,
    Please suggest me how to solve this problem?
    Thank you!
    My Code:
    DAQmxCreateTask("", &gTaskHandle_DAQ1);
    DAQmxCreateTask("", &gTaskHandle_DAQ1_DO);
    DAQmxCreateAIVoltageChan(gTaskHandle_DAQ1, cChan_DAQ1, "", DAQmx_Val_Cfg_Default, min,max, DAQmx_Val_Volts, NULL);
    DAQmxCfgSampClkTiming(gTaskHandle_DAQ1, "", rate, DAQmx_Val_Rising, DAQmx_Val_ContSamps, sampsPerChan);
    DAQmxGetTaskAttribute(gTaskHandle_DAQ1, DAQmx_Task_NumChans, &gNumChannels);
    DAQmxCreateDOChan(gTaskHandle_DAQ1_DO, cChan_DAQ1_DO, "", DAQmx_Val_ChanForAllLines);  <--- Occur error

    hi, Billingsley
    My DAQ version is 7.4.4f4
          OS version is  XP Profession SP3
          LabWindows/CVI version is 8.5.0
    Thank you!

Maybe you are looking for