Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Let(
- [
- table = _FIELDREF_getTO ( DRIVE_COST::ID ; "" ) ;
- device = JOBS~::Drive_SourceMediaType ;
- capacity = JOBS~::Drive_Capacity ;
- drive = Jobs~TargetMediaUsed::Description ;
- unit = JOBS~::Drive_CapacityUnits ;
- encrypted = 1 ;
- sql =
- "SELECT TOP 1 PRICE
- FROM " & table & "
- WHERE DEVICETYPE LIKE " & "'" & "%" & device & "%" & "'" & " AND
- ENCRYPTED = " & encrypted & "
- ORDER BY ABS(CAPACITY - " & capacity & ")";
- result = ExecuteSQL ( sql ; ¶ ; "" )
- ];
- "(not to exceed $" & result & " for a " & "capacity" & " " & unit & " " & drive & "drive.)" & ¶ &sql
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement