Use a counter from one class to another class of the same project

Hello!
In my class Book I have a variable, which is in fact a counter, counts the number of books. I need to use this same variable in another class Library, and I want to know if this is possible by any means!
Thank You very much for Your support!

Read this carefully.
Regards,

Similar Messages

  • How do I move Contacts & Calendar from one User to another User on the same Macbook Pro?

    How do I move Contacts & Calendar from one User to another User on the same Macbook Pro? OSX 10.9.5

    is this second library in a different account on the computer?
    Look at Home Sharing.
    iTunes: How to share music and video - http://support.apple.com/kb/HT2688 - about Music Sharing and Home Sharing
    Home Sharing Support page - http://www.apple.com/support/homesharing/
    iTunes: Setting up Home Sharing on your computer - http://support.apple.com/kb/HT4620
    iTunes Home Sharing now works between users on same computer - https://discussions.apple.com/thread/3865597

  • Move DC from one SC to another SC in the same track

    Hi colleagues,
    I am facing a problem when I try to move a DC from one SC to another SC, in the same track.
    This track has all custom applications developed by my team. It happens that our custom applications were all in one Software Component, and we want to have one SC per application.
    I followed the steps described in SAP Note 888969(and also this tutorial: http://wiki.sdn.sap.com/wiki/display/JDI/StepbyStepguidetoMoveaDCfromoneSCtoanother).
    I could successfully Integrate all components of the DC in the new Software Component. Then I did check-in and activated it. Everything fine so far.
    In the last step of copy/create the .dcref file in the TOP-Level DC folder, I did as described: have created an empty file with the same name and extension as the existed file on the old SC (new activity created). Then I checked in and on Activation phase I get an error: "Error! The following error occurred during request processing.  /gems/clock' is already active in the compartment 'GEMS' and cannot be activated in the compartment 'ESS_CLOCK_IO'.
    Does anyone had this problem before or have an idea how I can fix this problem?
    Thank you in advance,
    Regards

    For future search:
    I can suggest the movedc command of the guide
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30d8e1f6-a372-2b10-65af-8a366b91eba7
    Regards,
    Ervin

  • How can I using tpcall from one service to another service in the same server

    When I using tpforward between two services in one server, it's working ok. However,
    when I using tpcall from one service to another service, it's failed?
    anybody can tell me why?
    thanks
    george

    "george" <[email protected]> wrote:
    >
    When I using tpforward between two services in one server, it's working
    ok. However,
    when I using tpcall from one service to another service, it's failed?
    anybody can tell me why?Basically, tpcall:ing another service in the same server is a no-no, unless you
    a) are running a multi-threaded server (requires TUXEDO 7 or newer + compilation
    options) or
    b) use tpacall() instead of tpcall() and specify the flag TPNOREPLY. This is probably
    not what you want to accomplish, though.
    The reason is that TUXEDO servers by default (and always in versions before 7)
    are single-threaded. If service A and B both reside in server X, server X will
    be busy taking care of the call to A. If A makes a call to B, the call will be
    put on the queue to X, but X will not look at the queue until it is done with
    A, which won't happen until B returns... deadlock!
    You can play tricks with starting multiple instances of X, but in the end you
    will always face a risk (something lika a race-condition) for a dead-lock.
    Solution: Move service B to another server (usually quite easy) OR switch to multi-threading,
    if that's possible. Just make sure all code your service calls is MT-safe as well...
    thanks
    georgeHope this helps you,
    /Per

  • Mountain Lion: Copying mailbox from one user to another user on the same mac

    When I bought the mac I had only one email address.  Since then I have accumulated 3 more addresses. I created another User on the same MAC to seperate the personal emails from the 3 new email addresses, that I use for business. 
    There are some mailboxes from the 1st account that has business information in them that I want to move to the 2nd User account (with the 3 e-mail addresses).  I though that I could save them in the dropbox and then save them into the 2nd User accounts like I did with the documents and spreadsheets, but this does not work.  
    I really need to separate the Family Personal email information from the Busines Information and I do not want to just send lots and lots of emails to the accounts to get them there. 
    I am not using Cloud at the moment because it created some syncing issues.  Because the 1st User Account and email account is synced with an iPad and iPhone that my wife uses with an Apple ID.  The 2nd User (and 3 mail addresses) are synced with my iPhone and a separate Apple ID.  We have separate ID's because she did not want my personal & business contacts seeping into the family email accounts
    I know that this is long, but I wanted to provide as much information as possible, so that I can resolve this.
    Thanks in Advance

    I spent quite a few hours after this was posted trying to figure it out and I did.
    Select Mailbox > Export Mailbox.  This asks you a location to export the mailboxes to.  It just uploads the exported mailboxes into Dropbox. 
    Then change the User that I want to import the mailboxes into. Select Import and select the location of where you placed the folder in Dropbox. This then imports the mailbox into a folder called Import. You then drag and drop the copied mailboxes from the Import folder to the folder in the structure you have.  If you decide to delete the folders from the import folder list, do this.  You can also delete the copied folders from Dropbox if you wish.
    Took a while, but I got there and I'm happy now....

  • Transfer of Inventory from One Plant to another with in the same company code

    Hello All,
    Can you please let us the possible option's for transfer of Inventory from one plant to another plant in different geographical location with in the same state.

    PLANT TO PLANT TRANSFER IN THE DIFFERENT GEOGRAPHICAL LOCATION UNDER THE SAME COMPANY CODE
    Assume - plant 1 - 1000 ; plant 2 - 2000.
    From 1000 - 2000 u shall transfer the parts using 641 movement By creating a Stock transfer order with the following conditions.
    1, Master & source list to be extended for both the plants vice versa. including accounting & excise view
    2. Create an Sto po in ME21n  for one time only /ME31N as scheduling agreement
    3. Generate pick list and do Post goods issue in va02.
    4. Create excise invoice & do the Gate entry in the other plant & stocks are up loaded.
    5. In India excise rules are becoming stingent & you have to inform both the Excise ranges before starting the transactions

  • How can I move my iPhoto Library from one Mac to another without losing the comments on the individual photos in the process?

    How can I move my iPhoto Library from one Mac to another without losing the comments on the individual photos in the process? The source Macbook (OS 10.4.11 and iPhoto 6.0.6 (3.2.2.)) is with my husband in Germany, the target MacBook Pro (OS 10.8.5, iPhoto 11) is with me in Japan. Thanks for your help.

    I copied the iPhoto Library to a CD and from there to the new MacBook
    If you copied the library to the CD via the Finder it would be no different than the methods Terence suggested.  If you used the Share ➙ Burn menu option from inside iDVD you'll get a mini library that has to be accessed from the open library and the events/alubums copied into the destination library.  Not the same as the other methods.
    The Share ➙ Burn method is no longer supported with iPhoto 9 and later.
    OT

  • Getting error Can't read from the source or disk when moving documents from one folder to another folder in the library

    Hi,
    When we try to move documents from one folder to another folder in the document library using "Open with explorer" getting beloe error.
         Can read from the source file or disk.
        The user having below permission for the Library as well as site.
    Fullcontrol,Limited access--->Given directly
    Read,Limited access--->Givin through the all Test grp
    Contribute,Limited Access-->given through test members grp
    Read,Limited access---> givin through The group grp
    Could you please help me anyone....
    Thanks

    Hi Reddy,
    If you are moving files in two libraries in different sites, then the error will occur and it is by design that there are limitations on the DAV move commands that the DAV client is respecting.
    https://social.msdn.microsoft.com/Forums/en-US/6245f332-c609-4a7b-8e00-c8b5e46f7759/cant-move-files-using-windows-explorer-cant-read-from-source?forum=sharepointgeneral
    If you are moving files in the same library, I recommend you to use Wireshark to reveal the error message and enable IIS
    Trace Logging for Failed Requests to examine the IIS log file for troubleshooting.
    https://social.msdn.microsoft.com/Forums/en-US/47cd569d-98f2-4cca-b78e-fd178c097285/cant-read-from-the-source-file-or-disk?forum=sharepointgeneralprevious
    To narrow down the issue scope, I recommend you to test with another library and see if the copy in explorer can work.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Transfer data in the Ztable from one client to another client in a same ser

    Hi all,
    How can i transfer or move data in the Ztable from one client to another client in a same server .
    Thanks
    Ajay

    hi,
    create a transport request (Workbench type) and add the following line into the transport request:
    R3TR TABU name_of_table
    save and doubleclick this line and enter the table keys for the required entries (if you need all antries: client and an asterisk will do).
    When it is done save again, release the transport and ask basis to import into target client (or you can do on your own in SCC1 transaction)
    hope this helps
    ec

  • Can I convert tracks from one format to another so that the converted tracks appear in the various playlists of the originals?

    I have a large number of tracks which I should like to convert from one format to another (aiff to Apple lossless).  These tracks are distributed in a large number of playlists.  Can I convert a track or tracks from one format to another so that the converted track appears in the playlist of the original track without going through a laborious and error-prone process of converting each track individually, determining the playlist of the original, and allocating the converted version to the playlist (or playlists, because in many cases the original track exists in more than one playlist) of the original track.

    I do not believe iTunes will do this.  The files created are essentially new media files, not regarded as replacements for old files.  There may be ways to trick iTunes if you are good at editing library files but that would be more trouble than it is worth.
    You can check the site below but I do not recall having seen such a script.
    Dougscripts - http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Name&op=y - Many itunes scripts
    If you're into writing Applescripts you could try it.

  • I would like to copy all the songs from one Ipod into another. All the songs are into my Itunes account, I tried to drag and drop the songs from the old Ipod to the new one but it doesn't work. Is there a way to do it ?

    Hello everybody,
    I would like to copy all the songs from one Ipod into another. All the songs are into my Itunes account, I tried to drag and drop the songs from the old Ipod to the new one but it doesn't work. Is there a way to do it ?
    I share one Itunes account with other people from my family and one person would like to keep the same songs on the new Ipod as the ones which were on the old one.
    Thanks in advance for your answer.
    Yan

    Hello Chris,
    Thanks for your answer. I was hoping for an easier answer. Too bad there is no drag and drop solution, it would have been much easier.
    Thanks for answering so fast.
    Bye.
    Yan

  • I changed from one iPhone to another and backed the first one up to the icloud. I have restored the content to my new iphone but cannot download the photos. Any advise will be greatly appreciated

    I changed from one iPhone to another and backed the first one up to the icloud. I have restored the content to my new iphone but cannot download the photos. Any advise will be greatly appreciated

    Welcome to the Apple Community.
    Photos and some other items are added back after the restore has completed, you may need to wait a while.

  • Can sequences be re-linked to original resources when importing another version of the same project?

    When editing a large event project, I usually set it up and sync cameras/audio into multicam sequences. My current project is of a kickboxing event so 3 of us will take say 5 fights each to edit on different machines. While importing the other guys work into my project works great, I'd love it to not show duplicate resources (bins/clips/sequences etc). You can see what I mean in the below image. Any way to relink to my original file/folder hierarchy?
    I know I could go into each multicam source sequence and right-click a clip and Reveal in Project, then right-click in project pane to Replace Footage but doing it that way 3 times to over 200 assets would be mind numbing haha.

    Hello Mike.
    I'm not aware of a way to merge mailboxes from one Mac to another but regarding the import feature, the mailboxes do appear grayed out but select Choose anyway and the mailboxes within the chosen folder will be made available for import at the next prompt.
    Regarding the directories, IMO it is better to manipulate the mailboxes using the Finder with the Mail.app quit before doing so.
    After using the Import Mailboxes feature and importing the selected mailboxes, quit Mail first and using the Finder go to Home > Library > Mail > Mailboxes. The Imported mailboxes (xxxxxx.mbox files) will be located within an Import folder.
    For all mailboxes to appear at the first level within the mailboxes drawer, each xxxxxx.mbox file must be at the first level within the Mailboxes folder. You can nest a mailbox within a folder that does not contain any messages.
    For example, you can create a folder at the first level within the Mailboxes folder named Business and place business related xxxxxx.mbox files within the Business folder.
    When launching Mail, there will be a Business folder in the mailboxes drawer that is colored white and within, each mailbox that contains messages will be colored blue.
    If he wants to transfer all messages from one mailbox to another and then delete the empty mailbox, transferring messages from one mailbox to another must be done from within Mail.

  • How do I transfer my bookmark toolbar from one computer to another? Not the bookmarks in general, but the toolbar...

    How do I transfer my firefox bookmark TOOLBAR from one computer to another? I have transferred the bookmarks, but the toolbar did not get transferred with it...

    Here's what I do when transferring from one profile to another, on the same computer.
    Go to "organize bookmarks", click on "bookmark toolbar", click on any bookmark in that category, click on menu "organize", click "select all", click on "organize" again, click "copy".
    Then close firefox, start it again with the other profile, go to "organize bookmarks", click on "bookmark toolbar", click "organize", click "paste".
    Now if you are moving to another computer, try save the copied content to a text file and move that text file to the other computer, then use "paste" inside firefox.
    Good luck.

  • Why does Dynamic Type change to a fixed font size when copied from one Note to another Note in the Apple Notes App?

    If I copy and paste text from one note to another, it pastes in at the current Dynamic Type size but is no longer adjustable. I have tons of notes with various fixed size text. Is there a way to reset all the text in the Apple Notes App to Dynamic Type so they can be adjusted using the font size slider in settings?

    When you use IMAP, as opposed to "On my Mac," Notes will create a folder called "Notes" on the mail server.  It will then store notes in there.  If you create subfolders in Notes (which you can do), those will be stored as subfolders of Notes on the server.
    So in the case of Gmail, you should be able to log onto your Gmail web account and the notes should probably show up in "All my Mail" with a label of Notes (this is because Gmail's IMAP implementation is VERY nonstandard and it doesn't actually support folders; it uses labels instead).  If you view the Notes label in Gmail's web interface you should see all your notes.
    Because of Gmail's IMAP implementation you should be very careful not to remove the "Notes" label from any of your notes if you're in the web interface, or they will disappear from the Notes app on OS X itself.

  • Getting error while another component to the same project

    I am getting the following error while including another component (JSPDynPage) in the same project. Its scope is request. If there is some .jar file to export kindly tell its path also.
    Error:The project was not built since its classpath is incomplete. Cannot find the class file for javax.servlet.http.HttpServletRequest. Fix the classpath then try rebuilding this project.     TryProject

    Hello Shilpa,
    The required jar file is <b>servlet.jar</b>, this is present on your server under
    usrsap<ID><INST>j2eecluster<NODE> in/ext/servlet/servlet.jar
    So adding this to your classpath, should solve the problem.
    Check this to know, how to set classpath:
    Getting API:s for DevStudio
    Greetings,
    Praveen Gudapati
    p.s. Points are always welcome for helpful answers

Maybe you are looking for

  • Error in transaction KPF6

    Hi All, I am facing an issue with transaction KPF6. In a particular scenario (with correct data) it is showing problem of "Too many elements in the overview screen". Though this particular scenrio works correctly if I try in some other system say tes

  • Auto log out from xbox :S in lumia 1520

    Auto log out from Xbox account in my 1520 every time I restart the mob and join any game .. Need your Xbox Website I do use remember me and nothing happens . That is happens with all websites I use A.A Solved! Go to Solution.

  • Get rid of duplicated songs in iTunes playlists

    Ive downloaded loads of songs in my iPod playlist and now im planning to transfer all of em to my PC.I figured out how to transfer songs but now i have another problem.Apparantly when u update songs in a playlist in iPod, if u add same files to the p

  • Will not navigate new site

    After a new tab loads once and I try to navigate to a new site in that tab the browser fails to load the new page. Then it will not load any page.I have checked my internet with 2 other browsers and have no problem loading pages mozilla firefox will

  • Extraction Key Frames from a video

    Hi all, I would like to know what is the best way to extract keyframe from a video. My Status (butr I can cahnge it) I'm Marco and I'm using JMF; I need for an help because I don't know how to extract keyframes from AVI and MPG files. I'm using the c