Please export your report template to file (see AyaNova 4 Help file on this (URL removed as for older version no longer supported - see the latest version of AyaNova)
Then zip up that file using WinZipand attach to a reply to this post.
Always attach a copy of the report template you have a question abour so that I can see it directly and answer directly for that particular report template.
//the first line converts the object Service Details to a string
//the second line checks to see if the string is empty or not
//if the string is empty (no Service Details are entered) than teh band is told not to display
string s=Convert.ToString(DetailReport4.GetCurrentColumnValue(“LT_WorkorderItemLabor_Label_ServiceDetails”));
if(string.IsNullOrEmpty(s))
{
e.Cancel=true;
return;
}
}<P dir=ltr " ">I tested it here with a workorder that had multiple labor records, and ensured that it did not display the records that had empty Service Details field.<P dir=ltr " ">Let me know you received.<P dir=ltr " ">- Joyce
Question? When we started working on this problem we went to the Devexpress web site and reviewed their online documentation for XtraReports. Even thought their online documentation is extensive I had trouble finding a method or function that would work for us in AyaNova.
What do you use as reference documentation when you are looking for methods, function, and properties?
DevExpress is the actual reporting component itself - whereas scripts etc are entered in C# language.
DevExpress provides details about their component only, but for C# scripts I usually perform a search online (i.e. Google) entering in text such as C# and whatever it is that I am trying to do - for example to get me started I entered the text C# string empty in a Google search as I was looking for how to determine if a string is empty and read over the results to get ideas and examples, and than tested it to get successful results.