is it possible to pass Boolean value in array???????????

vijay_sr261982vijay_sr261982 Member Posts: 39
is it possible to pass boolean value in arays............ if it possible please give me some example coding or example program.......... ] [-o< ](*,)

Comments

  • JedrzejTJedrzejT Member Posts: 267
    edited 2006-11-22
    Hi

    example

    Var
    Counter - integer
    BoolA - boolean /property dimension=5


    FOR Counter:=1 TO 5 DO BEGIN
    BoolA[Counter]:=TRUE;
    IF Counter=3 THEN
    BoolA[Counter]:=FALSE;
    END;

    FOR Counter:=1 TO 5 DO BEGIN
    MESSAGE(FORMAT(BoolA[Counter]));
    END;

    i really bad understand.. :oops:
  • Marije_BrummelMarije_Brummel Member, Moderators Design Patterns Posts: 4,262
    It should work like any other variable?

    Can you post the code you have tried so we can help?
  • vijay_sr261982vijay_sr261982 Member Posts: 39
    i had created a excel report. that am displaying the summary of that report in another sheet of same excel called Pivot Report. i tried to set the "feild's subtotals Property" to NONE" in that pivot report. i had runned the macro in Excel sheet and got some coding . here are they......



    ActiveSheet.PivotTables("PivotTable1").PivotFields("Order No").Subtotals = _
    Array(False, False, False, False, False, False, False, False, False, False, False, False)




    this is wat the coding i got when i runned the Macro of excel sheet. how to pass this in Navision.





    if ur much familiar in pivot report please help me :roll:
  • Marije_BrummelMarije_Brummel Member, Moderators Design Patterns Posts: 4,262
    Ah, this is a little different. You want to pass a array variable to Excel?

    Never tried it but I doubt it will work but I might be wrong.

    Maybe you can do it via a macro?
  • SavatageSavatage Member Posts: 7,142
    In case the goal is to simlpy create a pivot table (not necessarily in Excel)

    there is a download available
    http://www.mibuso.com/dlinfo.asp?FileID=484
  • JanVJanV Member Posts: 34
    Did anyone solve this problem? My Excel-Report is nearly finished now, the only thing missing is this "function" any help would be apreciated.

    With best regards,
    Jan
Sign In or Register to comment.