Guest Posted March 17, 2011 Share Posted March 17, 2011 Message from: "Farshad Mohajeri" Current Version: 0.84.4.835 Changes: 0.84.4.835 +---------------------------------------------------------------------------------------- - 0000920: Bug when ScreenMask is attached to a UniDBGrid - 0000919: TUniStatusPanel: Alignment - 0000909: Cookies are not populated in MainModule.Create - 0000912: DBControls: Displayed field value is not restored after exception is raised during an Insert/Append operation - 0000916: Cookies are not saved if application terminated/restarted. . Quote Link to comment Share on other sites More sharing options...
Guest Posted March 17, 2011 Author Share Posted March 17, 2011 Message from: "bettersoft" Did not release it? . Quote Link to comment Share on other sites More sharing options...
Guest Posted March 17, 2011 Author Share Posted March 17, 2011 Message from: "Farshad Mohajeri" "bettersoft" > Did not release it? Here: http://www.unigui.com/index.php?option=com_content&view=article&id=89&Itemid=113&lang=en . Quote Link to comment Share on other sites More sharing options...
Guest Posted March 17, 2011 Author Share Posted March 17, 2011 Message from: "bettersoft" I raised the issue in previous change it? . Quote Link to comment Share on other sites More sharing options...
Guest Posted March 17, 2011 Author Share Posted March 17, 2011 Message from: "Farshad Mohajeri" "bettersoft" . > > I raised the issue in previous change it? Not all recently reported issues have been included. In this lastest build there are few critical issue fixes plus few other issues which I could easily fix. I always try to include as much as fix in each release, but with 0.84 we already have many fixes included in 5 sub-releases and I need to finalize 0.84 right now before I head for version 0.85. Please post list of issues that are important for you and I will try to include them in next release 0.85.0. . Quote Link to comment Share on other sites More sharing options...
Guest Posted March 17, 2011 Author Share Posted March 17, 2011 Message from: "bettersoft" Okay, thank you! There is a problem, that is, the possibility of adding a DBGrid export Excel function? Because this function is very useful! . Quote Link to comment Share on other sites More sharing options...
Guest Posted March 17, 2011 Author Share Posted March 17, 2011 Message from: "Farshad Mohajeri" "bettersoft" wrote in message news:L6kc0sJ5LHA.2168@anaxagvs227... > > Okay, thank you! > There is a problem, that is, the possibility of adding a DBGrid export > Excel function? Because this function is very useful! Exporting to Excel can have many options and to achieve this we need to license a 3rd party library and intergrate it into uniGUI which I think is beyond our scope. I recommend using a 3rd party lib such as Flexcel from TMS software. . Quote Link to comment Share on other sites More sharing options...
Guest Posted March 17, 2011 Author Share Posted March 17, 2011 Message from: "bettersoft" If you need a license to export excel, then at least you can export CSV format? I have a uni group, many people are in the trial, we have already mentioned this need. This requirement should not be difficult, right? . Quote Link to comment Share on other sites More sharing options...
Guest Posted March 17, 2011 Author Share Posted March 17, 2011 Message from: "bettersoft" or export XML Format? . Quote Link to comment Share on other sites More sharing options...
Guest Posted March 17, 2011 Author Share Posted March 17, 2011 Message from: "Farshad Mohajeri" "bettersoft" wrote in message news:uPPtN5J5LHA.2164@anaxagvs227... > > If you need a license to export excel, then at least you can export CSV > format? I have a uni group, many people are in the trial, we have already > mentioned this need. This requirement should not be difficult, right? It is not difficult, but way beyond our scope. It is much better for individual developers to take care of such particular tasks. . Quote Link to comment Share on other sites More sharing options...
Guest Posted March 18, 2011 Author Share Posted March 18, 2011 Message from: "Javi" bettersoft, this code can help. function TFrameConsultas.DBGridToString(const _DBGrid: TUniDBGrid): String; var Posicion: TBookmark; Columna, Fila: Integer; UnaLinea: String; begin Result := ''; Posicion := _DBGrid.DataSource.DataSet.GetBookmark; _DBGrid.DataSource.DataSet.DisableControls; try UnaLinea := ''; for Columna := 0 to _DBGrid.Columns.Count - 1 do if _DBGrid.Columns[Columna].Visible then UnaLinea := UnaLinea + _DBGrid.Columns[Columna].Title.Caption + #9; Result := UnaLinea; _DBGrid.DataSource.DataSet.First; while not _DBGrid.DataSource.DataSet.Eof do begin UnaLinea := ''; for Fila := 0 to _DBGrid.Columns.Count - 1 do begin if _DBGrid.Columns[Fila].Visible then UnaLinea := UnaLinea + _DBGrid.Columns[Fila].Field.DisplayText + #9; end; Result := Result + #13#10 + UnaLinea; _DBGrid.DataSource.DataSet.Next; end; finally _DBGrid.DataSource.DataSet.GotoBookmark(Posicion); _DBGrid.DataSource.DataSet.FreeBookmark(Posicion); _DBGrid.DataSource.DataSet.EnableControls; end; end; -- NNTP.hk - (^(oo)^) http://www.nntp.hk/web/ "bettersoft" wrote: > > or export XML Format? > > > . Quote Link to comment Share on other sites More sharing options...
Guest Posted March 18, 2011 Author Share Posted March 18, 2011 Message from: "Oscar Flor" People: There is a example to export to JSon. Mr. Farshad: How I can do to download a file that have a extension different to ".txt"? In this example I can't download the ".json" file. Best Regards Oscar Flor Sebaot Software Quote Link to comment Share on other sites More sharing options...
Guest Posted March 18, 2011 Author Share Posted March 18, 2011 Message from: "Farshad Mohajeri" "Oscar Flor" wrote in message news:54ioRcX5LHA.2880@anaxagvs227... > People: > > There is a example to export to JSon. > > Mr. Farshad: > > How I can do to download a file that have a extension different to ".txt"? > > In this example I can't download the ".json" file. > In ServerModule OnCreate event: procedure TUniServerModule.UniGUIServerModuleCreate(Sender: TObject); begin MimeTable.AddMimeType('json', 'application/json'); end; . Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.