go to post Guilherme Mendes · Mar 25, 2024 Hi! Set stream = ##class(%Stream.FileBinary).%New() Set sc = stream.LinkToFile("C:/Temp/myfile.pdf") While 'stream.AtEnd { Do pOutput.Write(stream.Read()) }
go to post Guilherme Mendes · Jul 3, 2023 Hi! I don't know if I've understood, but if you want to check if there's any result, you could test with %Next() Set theresResult = resultset.%Next() %SQL.StatementResult %Next()
go to post Guilherme Mendes · Jul 8, 2022 This may help. I got in /csp/docbook. Note the use of colspan in the <td> and <th> definitions. <td> and <th> support colspan and rowspanattributes. Each attribute accepts a number as a value and causes the content of its parent <td> or <th> to span that number of columns or rows in the header or footer. Each produces output similar to the HTML attributes of the same name, but do so equally well for XHTML or PDF output formats.
go to post Guilherme Mendes · Oct 27, 2021 Now I got it. I don't know how to help you. You may try https://jqueryui.com/datepicker/
go to post Guilherme Mendes · Oct 27, 2021 I have not understood what you want, could you give me more details? If you have OnCreateResultSet, you may try to use a SQL Function to return what you want if I understood correctly.
go to post Guilherme Mendes · Oct 22, 2021 Hi! I don't know how to change the font colour directly (of that data), but... You can use OnDrawCell and inside the method get the data and set the style. Method MyMethod(pTable As %ZEN.Component.tablePane, pName As %String, pSeed As %String) As %Status { If (pName="colName") { Set cellData = %query("colName"), myColor = "red" &html< <div style="color:#(myColor)#"> <!-- You can write something, for example: if cellData is a number (of minutes) you could do what's below. --> #(cellData)# minutes </div> > } Return $$$OK } If you do this, that column will not order anymore
go to post Guilherme Mendes · Jul 20, 2021 Why do you ask? Because I use Caché at the company I work, and I want to install IRIS on my personal laptop to practice both and learn. Do you have specific functionality that you are concerned about? No, I do not have.
go to post Guilherme Mendes · Jul 13, 2021 You could try this #Dim a As List Of Acciones = ##class(%ListOfObjects).%New()
go to post Guilherme Mendes · Jul 8, 2021 It's not intuitive, but it works. ifexpression='%report.PageBefore("Graph",1)=1'
go to post Guilherme Mendes · Jun 4, 2021 Hello, Jimmy! You can just follow the documentation. See it: