Search results for query: *

  1. L

    App design using Panel controls

    ...(LeftPanel) which sets on top of MainContentPanel... and another related form to open in RightPanel which also sets on top of MainContentPanel. *The ultimate goal is to open my frmMain and have both of these open automatically in their respective Panels. I'm having trouble with the syntax...
  2. L

    Resolved Datagridview not saving underlying source

    Thank you for your useful information! I will mark this solved.
  3. L

    Resolved Datagridview not saving underlying source

    Thank you cjard for your comment. My comment has a legacy database which is an Access DB on their server. This current project is a redesign of the existing Access front end. My hands are tied.
  4. L

    Resolved Datagridview not saving underlying source

    I have FrmTempRequired and on its Load open a connection to my Access backend using OleDbConnection. The dataAdapter fills the dataGridView1 with the dataSet ds. So far so good. The form opens and the datagridview displays several records. I can edit a value in one of those records and move...
  5. L

    Parameter Query using 2 dates only using one of the dates

    Sorry but why is 'var' better than using 'DateTime' in the declaration?
  6. L

    Parameter Query using 2 dates only using one of the dates

    The possible reason I have for using AddDays(0) was an attempt to get that Now() current search date to work. Now that I have found the problem - maybe you have a useful way of getting the current date instead of AddDays(0). This fragment which is actually DateTime searchDate =...
  7. L

    Parameter Query using 2 dates only using one of the dates

    I switched the dates as soon as I read JohnH post so I was not arguing. Problem resolved: I found that the back end test file that was more current (had data after 4-13-23), was actually located in a sub folder with the same name as the back end test file which was actually being opened by the...
  8. L

    Parameter Query using 2 dates only using one of the dates

    The then date and now date did not change that my "nowDate" is being ignored or substituted for 4/13/23 (and my system and backend is current to today. Is there anywhere else where that odd date could be getting taken from? For example might there be a copy of an old database back end file...
  9. L

    Parameter Query using 2 dates only using one of the dates

    ...searchDate = DateTime.Now.AddDays(0); DateTime searchDate2 = DateTime.Now.AddDays(-170); Using OleDbCommand cmd; cmd = new OleDbCommand("SELECT * FROM tbl_Sample_Login_table WHERE LoginDate BETWEEN @nowDate AND @thenDate); cmd.Parameters.Add("@nowDate", OleDbType.DBDate).Value = searchDate...
  10. L

    Database design

    Thank you for the best practice information! I suppose that I have used the same dataset name for a few different forms does not mean that I have loaded into memory several copies of the same data, because when I close a form VS automatically clears that dataset from memory? Is it also the...
  11. L

    Database design

    ...seem to occupy a large amount of memory. I don't know if my _DatabaseBackEndDataSet file on each form is the same data set, but it does have the same name on multiple forms. *Should I wait until a button launches a form to have an individual dataset connect to the back end to retrieve data?
  12. L

    Tab control on form data sources for each tab

    Thank you for your help!
  13. L

    Tab control on form data sources for each tab

    Using VS2022. My form has a tab control where each tab is a different type of instrument. There are individual tables in the back end for each respective type of instrument. I have not been able to find information of how to handle the datasets which each tab will need to be bound to. No...
  14. L

    Best way to show busy while search is being performed

    The "loading" message that ReportViewer.Refresh shows just prior to the report data appearing. As far as the delay issue it remains, however one work around I see that I can make a user control with a text box on it with a text of "Report loading..." message. I place that user control on top...
  15. L

    Best way to show busy while search is being performed

    ...of the TableAdapter. I'm guessing the RefreshReport on the ReportViewer is where the "loading" message first triggers, and once the report is finished displaying the "loading" message turns off. *Using a breakpoint on RefreshReport I have confirmed that is where the "loading" message comes...
  16. L

    Best way to show busy while search is being performed

    I do not have specific code to show a "Loading" message. Perhaps that is part of the ReportViewer and generated code by VS designer. I just would like it to happen on click of btnGenerateReport immediately, and not after a delay.
  17. L

    Best way to show busy while search is being performed

    ...dead time such that the user does not think nothing is happening? Since the date ranges vary much, I don't have a set amount of time to put is some wait/sleep/timer. *If the VS "loading" popup would occur immediately after the button click I would not have a problem. Thank you for your time.
  18. L

    Values on Winform and RDLC Report Designer

    I am experimenting with a pie chart in the ReportViewer now. Is there a cache somewhere that holds changes? I have made some changes to the pie chart that are not being reflected on the ReportViewer. It's almost like my RDLC file is not being overwritten with new changes.
  19. L

    Resolved Object reference not set to an instance error

    The solution for this problem was to add this code in the procedure. this.SampleCountReportViewer.LocalReport.ReportPath = "SampleCountReport.rdlc";
  20. L

    Resolved Object reference not set to an instance error

    On hover of SampleCountReportViewer is -> '(field) Report Viewer FrmSampleCountReport.SampleCountReportViewer.' The interface does not flag this with a red underline in the code itself. It does upon running the code. On hover of LocalReport is -> 'LocalReport ReportViewer.LocalReport { get...
Back
Top Bottom