Jump to content

Shown attention when different insert time and current time!


Recommended Posts

Hi All,

As per mentioned on topic, in fact i would like to create icon ex. hour in case rigging guard the insert time.

1714409433_differenttime.thumb.png.482ac1e11236fd713226f311fc350260.png

Link to post
Share on other sites

I don't understand your question. When you insert the current time, you always insert the computer's current time. There will never be a difference. And once you have inserted the current time into a field, it will become different from the current time in one second or less.

 

Link to post
Share on other sites
10 minutes ago, comment said:

I don't understand your question. When you insert the current time, you always insert the computer's current time. There will never be a difference. And once you have inserted the current time into a field, it will become different from the current time in one second or less.

 

I meaning the guard in security room put time by manual.

Have any method shown like hand different time between current time and insert time by manual.

Or if you have any technuiq please provide us.

I hope now understand my issue.

Link to post
Share on other sites

 If you want them to enter the current time, why not give them a button that does that, instead of having them enter the time manually?

If they must enter the time manually, you could have another field auto-enter the difference between the current time and the entered time. Then if the difference is larger than a few minutes, you could show your icon.

Note that the calculation can be more difficult if one of the times is before midnight.

 

Edited by comment
Link to post
Share on other sites

The field could simply auto-enter =

Get ( CurrentTime ) - Time In

Then you can decide on what's a reasonable window of difference - say 5 minutes - and hide the icon when:

Difference < Time ( 0 ; 5 ; 0 )

However, as I already noted, if you can have a situation where the current time is after midnight and they enter a time before midnight, this will not work as expected. I am surprised to see that your form does not have a date; if it did, you could use a timestamp to calculate the correct difference even across midnight.

 

  • Like 1
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Similar Content

    • By tomp
      I'm having a problem getting BE_SMTPsend to successfully send an email with an attachment.
      No problem sending without an attachment, but when I add an attachment, I get an error 2 (not sure exactly what that means, but without the attachment, no error)
      These are the argument strings with and without attachments:

      I have tried both relative and direct file paths for the variable $attachment. Examples are:


      Both of them return an error code of 2.
      Since the 'send' without an attachment works, all the values of the fields/variables other than $attachment must be valid.
      Can anyone offer a suggestion as to what might be going on and what I might try to resolve this?
       
    • By Solvax
      Hi,
      I'm trying to make a subsummary report with data from the current table and a related table.
      I never get to display the correct totals for the related table, and would therefore appreciate your help.
      First I'll try to explain the workflow:
      I have two tables called 'Voorraad_uit' (= outgoing stock) and 'Voorraad_in' (= incoming stock) which are related by delivery number.
      Data is first entered in 'Voorraad_in' (= incoming stock) and then related records are created in 'Voorraad_uit' when an incoming stock item is partly or completely shipped.  This second table contains mainly the outgoing amount and a unique outgoing delivery ID.

      As a consequence, one record in table 'Voorraad_in' (= incoming stock) can have one ore more related records in 'Voorraad_uit' (=outgoing stock).
      I want to make a subsummary report showing the total amount of incoming and outgoing units per product(name) by using the following layout structure:

      I tried two scenarios which each give me a part of the desired result.
      when I base the layout on 'Voorraad_in' (=incoming stock): I get the right totals for incoming deliveries I get all the incoming deliveries listed (also those without outgoing delivery) Body part 3 (see above) only shows one row also when there are more than one related outgoing transactions I get the wrong totals for outgoing deliveries (only based on one record) when I base the layout on 'Voorraad_uit' (=outgoing stock): I get the wrong totals for incoming deliveries I don't get all the incoming deliveries listed (only those with outgoing delivery) Body part 3 (see above) shows all the related outgoing transactions I get the right totals for outgoing deliveries Main goal is having the right totals for both incoming and outgoing deliveries..
      My layout is sorted ascending by (in mentioned order) productname, incoming delivery number and outgoing delivery number.
      The totals are calculated by using summary fields.
      I hope I'm on the right track and that the desired result is possible.. your help is much appreciated!
      Thanks in advance for your help.
      Regards,
      Solvax
    • By Steve Pfister
      Security Challenge when signing on to Paypal through Filemaker pro 18 web viewer.    I see the text "Security Challenge" but nothing else shows up... all is invisible, making it impossible to solve the security challenge and sign in....  Mac Pro..OS High Sierra 10.13  ....running Filemaker 18 .     I am having Java script issues I am assuming.   Has anyone else had this similar issue and solved it?
      Thank you in advance
      Steve
    • By Pio Soto
      Hi, I was wondering if it's possible to add some design to my email, 
      I have attached a sample of what I'm looking for but the idea I got is from my quickbooks email invoice.
      Thanks.

    • By Cable
      I have a script that distributes a quantity across various number fields using a "set field" script step. It is possible for the number being distributed to be zero.
      When I run the script with debugger, it puts zeroes in the number fields as expected. But if I run the script without debugger, it enters zeroes as null (blank). 
      I have absolutely no idea why!
      I've tried modifying the script to specify the value with GetAsNumber and I've even tried adding to the Case statement (which determines the portion of the value to be distributed) that if the value to enter is not greater than zero to just enter a zero. Still makes the field blank. 99% of the time but not 100% of the time.
      I've checked to make sure all fields are set to be number fields. I've verified this happens for me in both FMP 18 and FMP 19 on two different Windows machines.
      For my use case there is a difference between a blank and a zero so it must be correct. Sometimes the field is legitimately empty.
      What should I be checking?
  • Who Viewed the Topic

    2 members have viewed this topic:
    Ocean West  WF7A 
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.