Recent content by Karl Arthur

  1. K

    Testing for a successful DoSync

    Hi Howard, I've tried using the SQL action but still can't get it to go through any events after the login fails, so can't check if any records exist. I've added the following: SyncComplete Click 21 (DBDeleteAll button to delete all records in the app's database) LostFocus 13 (Sync button)...
  2. K

    Testing for a successful DoSync

    Hi Howard, Thanks for the suggestion. I added the following events to the form logic but it still doesn't work. Because the sync failed it doesn't go through the recordcount check event or the 'TEST SyncComplete' event I also added. SyncComplete Click 21 (DBDeleteAll button to delete all...
  3. K

    Testing for a successful DoSync

    Hi Fahim, Thanks for your suggestion. I've tried this but I'm unable to test the value of the validation flag directly after the SyncComplete event. It's acting as if, when the sync fails, all other events underneath are ignored until another button is clicked. I have the following events...
  4. K

    Image Control/LaunchCam

    Hi Fahim, I removed the OnClick logic item and still get the same problem, the button turns green even if you don't actually take a photo (just go into the camera dialog box and out again). It's as if it isn't going through the Else event or BLOB isn't being cleared if you don't take a photo...
  5. K

    Testing for a successful DoSync

    Hi, Is there any way to check if a DoSync was successful or not? The idea is that if a user submits a form (via a Submit and then a DoSync) and the app can't connect to the server for some reason, we would like a prompt to pop up with a Retry button asking the user to check their internet...
  6. K

    Image Control/LaunchCam

    Hi Corey, I added the new OnClick event to try to fix it but it still doesn't work. When using the following form logic event I assume that 'BLOB' won't exist if you just click Done in the camera dialog box (without taking a photo), so the button should then change to white via the Else...
  7. K

    Image Control/LaunchCam

    Hi Corey, Thanks for your help. I'm not sure why the id changed from 107 to 109. That works to a certain extent - when you tap Done on the camera dialog box the button changes colour. If you don't actually take a photo though the button still changes colour. This is the form logic...
  8. K

    Image Control/LaunchCam

    Hi Fahim, Thanks very much for your reply. I have followed your instructions on how to check if an image exists but cannot get it to work. The button doesn't change colour after taking the photo and closing the camera dialog box. In the .tac file I have the following code for the field...
  9. K

    Image Control/LaunchCam

    Hi, could you tell me if it’s possible to display an image that has just been taken via LaunchCam in an Image control please? I have tried setting the source on an Image control to an image field but it doesn’t display – you can only view it by tapping the button control and bringing up the...
Top