Home      Ask a Question      My Stuff      Help   
  
Scripting - Combining Labor Code Clock Prompt Data
The below outlines a way to combine data from a labor code clock prompt either to overwrite a prompt or to be combined into a separate prompt.

In this example we will use prompts x and y but you could use any labor code prompt. We will be combine x and y to a single prompt, in this example x:

x = cstr(x) + cstr(y);
y = "";

For example if x had "100" in it and y had "200" it would change x to "100200".

To combine the two to a separate prompt you could just add a third prompt like z:

z = cstr(x) + cstr(y);
y = "";
z = "";

With TimeWorks Plus the only difference is that with Plus we use the "Field" names as opposed to x,y,z (X_Prompt, Y_Prompt or Z_Prompt are usually the default in Plus).



ID
1549
Category
>Support
  Scripting
Date Created
6/1/2015 7:41:16 AM
Date Updated
6/2/2015 7:03:09 AM
Back to Search Results