Tuesday, October 30, 2012

Loading EIP on Win 7

The IIS 7 LODESTAR virtual site was never created.

Here is what I had to check:

Withing the add components - IIS - app dev - check all boxes

Wednesday, May 23, 2012

Random value in a range

Update a value in SQL Server 2008 with a random value in a range:

ABS(CHECKSUM(NEWID())) % 300 + 110 (that will add numbers between 110 and 409

Monday, May 21, 2012

Worket Custom Function

Here is how to create a custom function to manipulate 2 or more cuts in a workset in LODESTAR 1.6
Files needed to change:
FuncProg2.asp
functions.xsd
dictionary.dic
Function.asp
FunctionCuts.xslt

To add scalar operators: add to:

 


































To create the custom function, add this to the functions.xsd file.

                 
            Cut2 = CreateCopy();
            
       
       
            
              
              
              
              
              
              
              
              
              
              
            
            
        

cut 1 = current cut
cut 2 = cut that is created after math operation
cut 3 = second selected cut for operation
New Function in funcprog2.asp