Want to get rid of Google Ads, click here.
+ Reply to Thread
Results 1 to 3 of 3

Thread: Update date value if only it is greater

  1. #1
    Junior Member
    Join Date
    Feb 2009
    Posts
    6

    Default Update date value if only it is greater

    Please help in writing a script that will update a field(date value)only if the date value imported from a spreadsheet via Connect is greater than the value in the AM db.

  2. #2

    Default

    You can compare the incoming value from excel sheet with the value available in AssetCenter.

    You can code this comparision in ConnectIt script using PifExecODBCSql or PifNewQueryFrmFormatName functions...

    HTH !

  3. #3
    Junior Member
    Join Date
    Jan 2010
    Posts
    1

    Default

    Maybe you can use "Reconciliation scripts" with vNewVal and vOldVal variables, directly in Connect-It.
    In your script for your date field :

    if DateDiff(vOldVal,vNewVal)> 0 then
    RetVal = vNewVal
    else
    RetVal = vOldVal
    end if

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Tags for this Thread

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts