Jump to content

Major Assett

  • Content count

  • Joined

  • Last visited

  1. Report Line 2, Only print if Image2 exists

    So I can't use Asset.GetNumImages as it always returns zero ... but I found a simple way which works for me; Use the function DrawingHeightSCM(Assset.Image2) ... it returns a zero value if there is no image and a non-zero value if the image exists - don't know why I didn't find this before. So now I have a formula to print line 2 ... DrawingHeightSCM(Asset.Image2) > 0
  2. Report Line 2, Only print if Image2 exists

    Oh ... errr !! Except Asset.GetNumImages always seems to return 0. As a test I did a quick report to display images and also the value of Asset.GetImages ... in all cases (running type "preview") the value of Asset.GetNumImages was 0 :-(
  3. Report Line 2, Only print if Image2 exists

    Brilliant ... Thanks - Asset.GetNumImages is the way for me ... All assets have image1, only a few have image 2 so condition Asset.GetNumImages > 1 is perfect.
  4. I'm trying to create an Assset report where the second line contains Asset.image2. I want to only print the second line if the Asset.image2 has a value (ie. has a picture added to the asset). Obviously making the line appear (or not) should be a simple matter of applying a formula to decide if the picture exists or not, however most functions complain about a picture type because they expecting a string and not a picture. Currently I am thinking about adding a user field called something like "picture 2 added" and printing line 2 if that is true .... but it is a bit of a pain to fill in this new field for around 50% of my assets. Anyone know a better way, or how to do this properly using the picture fields ?
  5. Adding Vehicles

    Hi Admin, [ View -> Show->Vehicles - Select the vehicle to delete on the panel on the right, then try to delete] Definitely "Delete Vehicles" which have no assets assigned doesn't delete them for me (HomeManage I also found once a vehicle has been assigned on the asset details screen, it is not possible to remove the assignation - it only allows the ability to select the same or another vehicle, this only really leaves the option to delete an asset to disassociate it from the vehicle.