Not a programmer by trade, and looking for some help. I have a working sheet in which we track jobs on. When they are completed we enter the word "Yes" in column 7 indicating the job is done. Our process is it set up so that 24 hrs later we try to remember to manually go in and hide the row. We want the row/job to be seen completed for that time length as an update. I've attempted using the trigger selection in Script Editor to automatically hide the row after 24 hrs., with no luck. Looking online it appears with the right script you can run the "hide row" script 24 hrs after the edit to column 7 is done. I have not been able to come up with the correct script to make this happen. Can anyone help me out with this?
Related
I created my daily task log sheet which i log my tasks daily and I also provide the time which I start and the time of its completion. it looks like this
You'll notice the tab "total hours per day". on that tab I calculate the total time for the specific date. It looks like this
using this formula: =SUMIF('TASKS (Itemized)'!A3:A501,A8,'TASKS (Itemized)'!I3:I501)
My question is can I still add a condition to the formula that says not to include the time or the row if the column H has a value of "Multitasking"?
I believe you are looking for something like this?
=SUMIFS('TASKS (Itemized)'!I3:I,'TASKS (Itemized)'!A3:A,A8,'TASKS (Itemized)'!H3:H,"<>Multitasking")
Without seeing a sample sheet of everything going on including columns and rows this is the best I can offer.
My data is stored in Oracle and the only way I can run a report with it is using Crystal Reports. I have a set of data that looks like this ,,,,,,,,,,1, or ,1,,,,,,, or ,1,,,,,1,,,,1,. There are more variations.
Each one means a value is true for a record. There are about 54 'ticks/commas' What I want is all records with the one at the X spot. So for one report I may want all records in the 10th spot that have a 1. There may be other times where I want the records where the 1 is after spot 36. I agree it will pull other records but the main once I want is the X spot.
How do I get this? I tried a Like command but that does not narrow the data down far enough. I am familiar with SQL but not Crystal.
Any help would be great. TIA
In Crystal, you might try setting up a Parameter Field to hold a numeric value (1 to 54) then use that in a formula as the Record Selection. You'll be prompted to enter the parameter when you run the report.
In record selection i was initially going suggest the following which would bring back all records with 1 in the 12 spot. But this makes it hard to bring back a range.
split({yourfield},",")[12] = 1
This will bring back the same
instr({#test},"1") = 12
Then for your suggestion above you could use the following to bring back any record if it has a one in any spot after 36
instr({#test},"1") >= 37
As long as there is only one 1 in the field you can use this for other ranges as well.
Actually I don't want to disturb both answerts by Clayton Morris and CoSpringsGuy hence posting my answer.
You need to combine both the solutions to get the desired result.
Create a number parameter and provide either 1 to 57 numbers or keep just a filed to enter desired number.
Now in record selection use the formula given by CoSpringsGuy
if instr({databasefield.column},"1") = {?Inputnumber} --parameter field
then {databasefield.column}
I have a Project file with 30 tasks registered and they are all set to Automatically Schedule.
I have tasks done until task number 10, so I want to set the task number 11 start date as Today, but I want the past tasks, from 1 to 10, to have its dates automatically updated.
When I just click on the start date of task number 11 and change to Today, Project creates a "No earlier than" constraint, but that is not what I want.
Could someone help me?
A task's scheduled start date is calculated using the following:
relationships (e.g. predecessors)
constraints (e.g. "Start No Earlier Than")
calendars (e.g. which days are working days)
If Task 11 has no predecessors and no constraints, it will default to start on the first working day after the project start date. If you want it to start today, use a constraint or drive the date by setting a Finish-to-Start relationship to a task that completed yesterday.
I am working on project which is on the TFServer. every thing was fine till today which the server time changed to 4 hours ahead. i cann't check in any thing from then because i get the following error
TFS2010 TF54000: Cannot update data because the server clock may have been set incorrectly. Contact your Team Foundation Server Administrator
i searched in internet i found this
http://www.windows-tech.info/4/d1a37cfc6cf38a79.php
so i look into the tbl_Changeset i have two records for today
780 1 2013-12-09 11:13:56.930 807 1
781 1 2013-12-09 11:16:40.727 808 1
i am writing this post on 14:00 which definately bigger than 11:13, so i couldn't checkin again?
This usually occurs when changesets have future times, possibly due to a system clock being temporarily set in the future. To fix it, first run this query against the relevant collection DB (e.g. Tfs_DefaultCollection):
SELECT TOP 20 *
FROM tbl_ChangeSet
ORDER BY CreationDate DESC
You will probably see a row with a CreationDate in the future
Update the errored rows to a sensible time in the past:
UPDATE tbl_ChangeSet SET CreationDate = '2014-07-10 05:51:04.160' WHERE ChangeSetId = 73
That happens when the TFS server clock has been tampered. A common scenario is the server clock changed backwards after a check-in has been submitted. The times you see on tbl_Changeset are in UTC. You can try modifying the records several hours backwards, i.e.: from 2013-12-09 11:13:56.930 to 2013-12-09 00:13:56.930
About TFS Clock Error: It happens when your server machine time changed and you at time of Checkin & Checkout it put dates according to server in SQL Server Database hosting TFS Porject Collection. It update multiple tables not only tbl_ChangeSet or tbl_PendingChangeSet. I got it working by updating dates in multiple tables. What I did is mentioned below:
///Generated Script at once for all table for field data_type='datetime' Please see image below.
After above part: I copied Resutl Script to new query window and make it Common Table expression to limit the list accordingly. See Image Below.
See the result below: You will have list of tables with field name you need to update if date is mismatch. Changing of date you can do it with TSQL Query or can manually change directly editing in table.
Note: Please take your database Backup first. :) Enjoy!!!
When I start a new record in FileMaker is there a way for the cursor to automatically be in the first field so I can just start typing? And to specify which field that should be?
Background:
I'm trying to set up a FileMaker layout for use with a barcode scanner. So someone can scan in one record (there are two fields on the layout). After scanning it should go to a new record and place the cursor in the scan field so it's ready to scan again.
I put a trigger on the scan field to run a script to create a new record after hitting the enter key in the one field. After the new record statement I put a "go to field" statement but it doesn't seem to do anything. It always goes to the other field instead of the scan field.
Updates
I just tried using a "set selection" statement in the script instead of "go to field" (I also tried using both one after the other). Neither of those seemed to work.
I tried changing the tab order but it still goes to the other field instead of the scan field.
The default behavior when you create a new record is to go to the first field in the tab order, so this should work without you having to do anything.
The fact that it's not sounds to me like there might be a script trigger, either at the layout or field level, that's interfering with this or exiting the record. Try turning on the script debugger, create a new record, and see if a script runs.
I ended up doing a workaround.
I have just one field on the scan layout. After a user scans, a script fires which changes the layout to one which shows all the information about the scanned record that was just entered. It pauses for 1 second and then goes back to the scan layout for the next scan.
You may be able to set your scanner to submit pre and post data keystrokes. We routinely use this to invoke a filemaker script pre-scan to "go to field", enter the data, then post-scan to "perform a find"
I eventually devised a decent workaround with a second trigger script which seems to have no disadvantages.
However the tabs are set, I have found that an OnObjectExit trigger or an OnObjectSave trigger set up on the scan field will perform a script to process the scanned data, but the the step to return the cursor to the scan field will NOT work, probably because that field is still active in some way.
Rather than banging my head against I brick wall, I decided to set up an OnObjectExit trigger on the field to which the cursor is always deflected. This fires off a script to clear the scan field and then return the cursor to the scan field, ready for the next scan. This way, the cursor DOES arrive back where I want it.
Perhaps rather inelegant, but it works fine!