Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Regarding Pictures

Status
Not open for further replies.

rlporter

Programmer
Sep 7, 2003
24
US
When using a picture, such as:

picture({INSTransInmates.Bkg#},"XXXX-XXX")

Is there a way to sort the report from the last three digits of the picture?

The digits are a number such as 1234567. I understand how to use a picture to separate the 7 digits in different ways, but is it possible to sort based on only a part of the picture?

Thanks for any help

rlporter
 
Assuming the field is a string and the picture function is already working, then try this:

right(picture({INSTransInmates.Bkg#},"XXXX-XXX"),3)

Or you could probably just use:

right({INSTransInmates.Bkg#},3)

-LB
 
This worked PERFECTLY. Thank you veeery much..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top