How can i prevent checkboxes from resetting when shutting down the app?

Hi, i'm trying to make an app for a coin database.
Below a photo of the coin i put a checkbox or a switch to indicate what i have.
When closing and reopening the app, all the checkboxes or switches are unchecked.
Is there any way to let the app remember what was checked or unchecked.
Thnx.

Are you using a gallery to display your coins?  If so, this is what you'll need to do:
Part 1
1. Use a Collect function when the Checkbox is checked (and a RemoveIf function when the checkbox is unchecked.)
2. SaveData function to save the data.  This can be done when the checkbox is checked.  Use a semi-colon to string functions together.
Example (in the OnChecked):
Collect (myCoins, {ID: CountRows(myCoins) +1, CoinName: txtMyCoin!Text, IsChecked: "true"}); SaveData(myCoins, "MyCoins")
--> This code may not be 100% correct as I'm not on a computer with Siena while I'm writing this but it should be enough to get you started I hope.
Part 2
1. Use the LoadData function when you need the information to be loaded - usually in the OnVisible of a page.
2. In the Default of the checkbox (in your Gallery) add this code: If(ThisItem!IsChecked = "true", true)
--> Again, I'm not in front of my computer with Siena so I may be off here.  I'll edit this post if I'm way off.
I hope this gives you a good start.  I can provide better examples if this isn't working for you.
FYI - The code will look different if you're not using a gallery.  Hopefully you are as it sounds like the way to go in what you have in your example.
Thor

Similar Messages

  • How can i prevent iphoto from opening when i plug in my iphone to the computer?

    Hi There,
    I have  a question, when I connect my iPhone to the computer the iPhoto automatically opens.
    how can i prevent this from happening? it always slows down my computer.
    any help will be appreciated.
    thanks

    Image Capture (in your Applications Folder) - In the preferences you can decide to 'Do Nothing' when a camera is connected.
    Some versions also have this option in the iPhoto Preferences.
    Regards
    TD

  • How can I prevent iPhoto from launching when I insert an SD card

    I recently upgraded to a new iMac retina and am having trouble disabling iPhoto from launching when an SD card is inserted.
    I have gone to iPhoto setting and disabled iPhoto from launching when a camera is connected.
    I have also gone into image capture and selected no application as the hidden option for SD card actions when inserted.
    Unfortunately the issue persists... two questions: can I do a terminal level disable to prevent iPhoto from launching or can I remove iPhoto from my computer?

    Have you tried this?
    Open the Image Capture app
    Select your SD Card
    Click the little widget in the bottom right corner of the window
    Select the program to launch, or "No application"
    it worked for me

  • How can I prevent Photoshop from quitting when trying to use Photomerge?

    When trying to use photomerge, Photoshop (CS 5.5 version) quits immediately. How can I fix it?

    I seem to remember that there have been several threads on issues with Photomerge, have you done a Forum search?
    And you may want to provide more information, OS, reports, …
    Boilerplate-text:
    Are Photoshop and OS fully updated and have you performed the usual trouble-shooting routines (trashing prefs by keeping command-alt-shift/ctrl-alt-shift pressed while starting Photoshop after making sure all customized presets like Actions, Patterns, Brushes etc. have been saved and making a note of the Preferences you’ve changed, 3rd party plug-ins deactivation, system maintenance, cleaning caches, font validation, etc.)?

  • How can I stop iTunes from launching when I hit the button on my head phones

    On my MBP I have some head phones that have an inline mic with call answer button. The button on the head phones is fairly sensitive and I tend to bump it on accident often. When I hit the button iTunes is launched or if I have it open it starts music.
    Is there anyway to stop this from happening? This is driving me crazy!

    This problem has been an issue for a number of months and has led to frustration and public humiliation on countless occasions.
    When disconnecting from my Bose Soundlink at home (playing nothing) in order to taking my laptop on the run I open my laptop to find that the entire contents of my iTunes playlist is being belted in public. The subway, the library, my classroom is not the time or place for my laptop to make the decision to begin playing my music without permission. When at home and my Soundlink goes on standby I have nearly had a heart attack when my laptop spontaneously begins blaring my music when I wasn't even touching the thing.
    I love my Soundlink and I love my Mac but together the devices are causing no end of aggravation with no fix in sight. With each OS update I hope the problem is addressed but to no avail, it is getting tiresome that such a flaw isn't being fixed in a timely manner.

  • How can I prevent iTunes from opening when Firefox is open, when the computer is not used for a few minutes?

    iTunes opens on my screen if Firefox is on, with page minimised or with current page open, if I do not use the machine for a few minutes. I can't find anything to turn this off.

    When you first insert a CD your Mac comes up with a box saying
    "You have inserted a CD" (duuh, Apple...)
    Then you choose from a pop-up menu that offers "Open in Finder", "Open in iTunes", etc
    At some point you (or someone) has chosen "Open in iTunes" then checked the little box that says "Make this the default from now on".
    If you go into System Prefs (as already mentioned) you have a choice to reset what you want to do with a blank CD.

  • How can I prevent Firefox from closing when it crashes?

    So, I'm using a Windows 8 computer, & when it crashes, it closes altogether & it's really annoying having to reload my session, but when I was using a Windows 7 computer, Firefox hardly ever closed altogether when it crashed- all it did was freeze. Is there some way to only have it freeze instead of closing altogether? I hope you understand what I'm saying. Thanks.

    If only, if only! :)
    No, there isn't a way you can choose what Firefox does when it crashes. It crashes for a reason. But we can see what's causing those crashes.
    Can you give me your crash reports?
    #Enter ''about:crashes'' in the Firefox address bar and press Enter. A Submitted Crash Reports list will appear, similar to the one shown below.
    #Copy the '''5''' most recent Report IDs that start with '''bp-''' and paste them into your response here.
    Your System Details looks very light/empty. Can you start by giving us the troubleshooting information from the Firefox installation that's having problems. This is an essential step in troubleshooting.<br>
    *Click the Firefox button at the top left, then click the ''Help'' menu and select ''Troubleshooting Information'' from the sub-menu. If you don't have a Firefox button, click the Help menu at the top and select ''Troubleshooting Information'' from the menu.
    Now, a new tab containing your troubleshooting information should open.
    *At the top of the page, you should see a button that says "Copy text to clipboard". Click it.
    *Now, go back to your forum post and click inside the reply box. Press Ctrl+V to paste all the information you copied into the forum post.

  • I use to administrate my DSL modem via an ip-address. When I enter it into FF8 I am asked where to save the file. Why and how can I prevent FF8 from doing that?

    I use to administrate my DSL modem via an ip-address. When I enter it into FF8 I am asked where to save the file. Why and how can I prevent FF8 from doing that?
    And now anytime I am entering an ip-address I am asked if I want to download the file.

    It happens when the modem server doesn't send the file as text/html, but with another MIME type.<br />
    I tried the index.html addition in case the server might send that file as text/html.<br />
    If your DSL modem has a support website then you can try to ask there for advice about how to configure the modem server.

  • How can I prevent Bridge from altering my photos?

    HELP!!!
    Within the past few days my Bridge CS4 program has been making my life miserable. I had been utilizing the program to batch photos from my extensive photo library, rename them, sort them (i.e., change sort/ordinal number), and the like without any difficulty and then suddenly, after executing such processes my thumbnails turned completely white and would not open in Bridge, Photoshop CS4 Extended - much less anything else. I tried reopening them as .jpg's, .psd's, .tiff's to no avail. I went into properties on each photo and checked the "open with" tab, and it noted that the photo was not recognized. I had some moderate success opening them with Quicktime Picture Viewer, but converting them back to a Bridge readable format (i.e., their original state) proved impossible. Having noticed that Quicktime had hijacked nearly my entire photo opening process, I uninstalled it in the hope that it would solve the problem. It didn't. I then went into Bridge and Photoshop CS4 preferences to try and modify how photos were opened, and couldn't seem to find anything applicable. I did, however, increase the memory and cache allocated to each program substantially.
    Last night I ran into more problems with Bridge. While scanning both photo negatives and prints into Bridge and saving them into various files, I encountered the same problem indicated in paragraph one. I tried scanning several of them a second time and succeeded; however, I had to save them to a different file and give them dissimilar names in .tiff format. In the process I found more than a dozen ways to spell "Mexico," "Tokyo," and "Ukraine"! They would not save as .jpg's or .psd's.
    I use Windows Vista Home Premium SP1, have a Pentium 4 Dual Core (2.8) processor, 4 GB Memory, Nvidia GE Force 7600 video card (yes, the drivers are up to date), and Hewlett Packard Photosmart C7180 and C7280 printers for scanning. All of the photos involved are stored on a Maxtor One Touch 1TB Turbo auxillary hard drive.
    Also, could anyone suggest how I can get the  SD/MMC card reader on my PC to work?
    Thanks to any and all for assisting me with my problem.
    Wolfgang Holst
    Big Bear Lake, CA

    Thank you curt y for your quick response. I have seen your recommendations on the adobe forums link in the past and many of your solutions
    seem to have helped other people with Bridge problems. I took your suggestion and gave it a whirl - all preferences were restored to defaults - and the problem continues. I get the feeling the problems lies with the program's interaction with Windows.
    Having tried a few more things, I've found that I can move the photo shell (the inscription underneath the thumbnail states, "Window Shell Common") to my desktop and open it there with Photoshop (i.e., going through the song and dance of "open with" and clicking on the CS4 icon, where it opens up in RAW). I must then move it over to Photoshop CS4 and save it as a .jpg or a .psd. Unfortunately, after all this it still won't open in Bridge. By all appearances, Bridge somehow has become corrupted and I'm probably going to have to do a complete Photoshop CS4 uninstall and reinstall.
    I've spent hundreds - if not thousands - of hours scanning into my system some 10,000 photographs of my travels (yes, they are backed up on discs), and Bridge should not be negatively impacting my ability to organize and manipulation them as is happening now. If the uninstall/reinstall does not resolve the problem, I'll be back on this forum for more suggestions.
    As for the card reader issue, I'm well aware of the 2GB/over 2GB issue. I typically use a 4GB or more card in my camera. I can download fine through my HP 7180 and 7280 card readers, but my HP 1518n card reader is a different story. I'll work a little more on it, too.
    Thanks again.
    Wolfgang Holst
    Big Bear Lake, CA    
    Date: Thu, 18 Jun 2009 08:49:46 -0600
    From: [email protected]
    To: [email protected]
    Subject: How can I prevent Bridge from altering my photos?
    Have you tried resetting your preferences by holding down the Ctrl key and starting Bridge?  You will get a reset window, choose all 3 options.
    The only thing I know about card readers is that there are 2 versions.  One for cards of 2 gigs or less, and one for HD cards over 2 gigs.  Make sure card and reader match.
    >

  • How can I prevent Firefox from re-installing test pilot?

    I had removed the test pilot extension and its feedback button in Firefox 4.0b9. I let Firefox upgrade itself to 4.0b10 and didn't notice that silently re-installed it.
    I was typing in another application when suddenly that window was minimized and the focus shifted to a Firefox "new test pilot study" window that popped up. Even if I had given permission for that software to be installed, that is rude.
    I am not willing to trust that if I disable this logging software that it will stay disabled the next time I upgrade. I will remove test pilot again. '''How can I prevent Firefox from re-installing it?'''
    One way might be to set extensions.rdf read-only. However, I do not wish to lose the ability to install add-ons, I merely do not want anybody (including Mozilla) to install an add-on without my permission.
    https://bugzilla.mozilla.org/show_bug.cgi?id=519357 doesn't seem to address this problem as test pilot is a known component. Its not a plug-in so I can't modify the plugin scanning settings to prevent it from being loaded. Is there some way I can reliably supplement http://www.mozilla.com/en-US/blocklist/ with a local block list file? If so, would I have to update that whenever a new version of test Pilot is released?
    http://support.mozilla.com/en-US/kb/Add-ons%20blocklist

    I'm not sure what you mean by "re-directs e-mails." Are the recipient addresses changing between the time you address the message and the time it is sent?
    If you could provide more information I think that would help in tracking this down.
    When you use Firefox to work with your webmail site, whether Yahoo! or Gmail or another, the mechanics of sending the mail are handled by the site itself. So if there is a problem with how messages are addressed, then you may need to check your Yahoo! mail settings.

  • How do I prevent Mail from opening when I click an email address in Safari?

    My wife and I both use Yahoo! Mail. Neither of us uses the Mail app to manage our email. How do I prevent Mail from opening when we click an email address in Safari?  Is it possible to direct Safari to open a separate web browser prompting us to log in to our Yahoo! Mail?

    Hmm.. probably not.
    You want to open Mail. Then go into Preferences > General and you will see something similar to this:
    In the area marked Default Mail reader click on the pull down and at the bottom of the list it will say Other. You can see if you can select Safari here and if that will open up Safari.
    Good luck.

  • How do I prevent iTunes from opening when I pug in my iPod?

    How do i prevent tunes from opening when i plug in my ipod?

    This will occur when there are photos and/or videos in the Camera Roll, which should be imported by your computer as with any other digital camera.
    Depending on the iPhoto version you are running, this can be done via iPhoto preferences > connected camera opens > select no application.

  • My child accidentally rented a movie on Apple TV.  Is there a way to refund the rental if we don't watch it?  How can I prevent this from happening?  Is there a way to password protect future purchases?

    My child accidentally rented a movie on Apple TV.  Is there a way to refund the rental if we don't watch it? 
    How can I prevent this from happening?  Is there a way to password protect future purchases?

    Did you try Parental Controls?
    Apple TV: Understanding Restrictions (parental controls) - Apple Support
    See if that does the trick: I think there's a way for you to request a password for purchases, but still be logged in.

  • How can I prevent Firefox from cleaning my clipboard at exit (exit or closing firefox) ?

    How can I prevent Firefox from cleaning my clipboard at exit (exit or closing firefox) ?
    I am using FF 9.0.1 and the problem start from FF 5.0

    You can't prevent that.<br />
    If you've placed data on the clipboard in Firefox then you need to paste that data in the other program, if that is your intention, before closing Firefox.

  • I receive numerous messages in "Bulk Mail". Where do they come from and how can I prevent them from being received? Thanks

    I receive numerous messages in "Bulk Mail". Where do they come from and how can I prevent them from being received? Thanks

    Once you're on a spammer's list, there's nothing you can do to stop the flood of e-mail messages. You can either control it, using spam filtering (which is what files those messages in the Junk Mail folder), or you can throw out your e-mail address and get a new one.
    It's sad, but spam is simply a fact of life at this point, and there's nothing to be done about it. Legislation has been tried, with zero success, since most spam either comes from countries with no legislation or from personal computers that have been infected with malware and are part of a "botnet."

Maybe you are looking for

  • Item Category Usage: Free

    Hi Want to know significance of Usage Free, know that used in VOV4 , but scenario where this is used , for eg when we define TAN and higher level Item Vcat as TAN the result is TANN. Also I have searched the usage field in MARD/MARC/MARA, no mention

  • Address Panel in iCal empty but typing in characters yields search results

    I upgraded our 10.5 iCal Server to a Snow Leopard server about 6 weeks ago. At that time I also began upgrading users to 10.6 from 10.5. The address panel of iCal functioned properly with 10.5 clients before and after the server upgrade. However the

  • Photosmart C6150 is stuck in power on cycle.

    My Photosmart C6150 tries to power up, but a few seconds into the process, the  lights all go off, then it tries again...Endlessly. If I didn't pull the plug it would wear itself out repeating this cycle. And of course, this comes at a time that I ne

  • Retracting task in process workflow

    Hi experts, I'm currently working on how to retracting task in specific workflow.The situation is like this: User A initiates form then assign it to user B  (task B). User B completes (task B) then assigns to user C (task C). In case user B forgets s

  • Retrieval of dates from Personnel Work Schedule Records.

    Hi friends, I need to develop a user exit in which retrieves dates for a current calendar year. For Eg: For Calendar year 2008 There are 2 workschedules . 1) From 06/01/08 to 12/31/08 (Current record) 2) From 01/01/08 to 05/31/08 (Immediate previous