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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Re: Printing a text string on a chart instead of a bar...

Status
Not open for further replies.

e7akerson

Technical User
Nov 17, 2000
19
0
0
US
This is my SQL statement:
SELECT [serial_no] & " " & [part_number] AS MACH_ID, TestGetLivedata.type, [EndDate]-[FirstDate] AS DaysLeft, TestGetLivedata.IStatus, IIf([IStatus]="active contract",DateValue([TestGetLivedata]![EndDate])-DateValue([TestGetLivedata]![FirstDate])+1,IIf([Istatus]="quote","Quote","error")) AS ContrStat INTO ChartGetSiteLiveData
FROM TestGetLivedata

I am trying to insert a text string called "quote"on a bar graph if the value of IStatus equals "quote" instead of a bar. When the value of Istatus equals "active contract" I can now list the values of DaysLeft (of the contract) on bars but I am now stuck for the other.

I hope I explained this problem correctly.

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top