User Profile

Collapse

Profile Sidebar

Collapse
Sep410
Sep410
Last Activity: Nov 20 '08, 03:58 PM
Joined: Jul 4 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thanks But is there any way I can have sum of the text box it is too hard to change that query.
    See more | Go to post

    Leave a comment:


  • Thanks for reply but the control source of that tex box is

    =IIf([PayOff]=True,0,[Text34])

    and text34 is

    =IIf([tbl_Payment subreport2].[Report].[HasData],[TotalAmount]-[tbl_Payment subreport2].[Report]![AccessTotalsPay mentAmount],[TotalAmount])

    So teh only chance taht I have is to sum the last text box.
    See more | Go to post

    Leave a comment:


  • Sum Of text box in access report(Please it is urgent)

    Hi all,

    I have a report in access. in detail section of the report I have a text box which holds the price for each inventory. There are some calculations in the control source of the text box. I need to have sum of the values that appear in this text box at the end of report. if I add a text box at the report footer and set the control source to sum(text1),each time I run it report will ask for text1!

    How should I...
    See more | Go to post

  • Sep410
    started a topic New report in loop

    New report in loop

    Hi all,
    I have a loop and my report open code is in this loop.How can I make access to open new report for each item in the loop when I run it?
    My code:
    Code:
     Dim rs As New ADODB.Recordset
        Dim strSql As String
       
       strSql = "SELECT DISTINCT tbl_Report.ReportMonth, tbl_Customer_Interest.CustomerID FROM tbl_Customer_Interest INNER JOIN tbl_Report ON tbl_Customer_Interest.ReportID = tbl_Report.ReportID
    ...
    See more | Go to post

  • Sep410
    replied to Basic form Issues
    I found it.
    Access Option section------> Application Options------->Overlapping Windows should be selected.
    See more | Go to post

    Leave a comment:


  • Sep410
    replied to Basic form Issues
    Please help me.I don't know what to do.
    See more | Go to post

    Leave a comment:


  • Sep410
    started a topic Basic form Issues

    Basic form Issues

    Hi all,
    It may be funny for expert but I am pretty new in Access and I have to develop an application in access2007. Here is the list of funny question that I have:


    1. How can I set the size for my form? (All the forms open in max size and I customize them in form’s design mode.)
    2. How can I see control box (Minimize and maximize button) at the top of my forms?(I only see Close button)
    Please help me...
    See more | Go to post

  • Sep410
    started a topic Combo value

    Combo value

    Please help me,

    What is wrong here

    If Me!cboMonth.Val ue = Null Then
    MsgBox ("Please select a month and try again.")
    End If

    When there is nothing selected in the cboMonth it does not go to msgbox!!!
    See more | Go to post

  • Sep410
    started a topic FormSize and First form to show

    FormSize and First form to show

    Hi,

    I am new in access and I don’t know how should I define which form is the first form in my application.
    When the user open the application I want to show them my welcome form. And I don’t know How can I change the size of my welcome form I don’t want it to be maximize when they run the application.
    See more | Go to post

  • Thank you.It is working now.
    See more | Go to post

    Leave a comment:


  • Run-time error '2185' You can't reference a property or method

    Hi all,

    Here is my code:
    Code:
    Private Sub Command12_Click()
    Dim strSql As String
           strSql = "Delete from tbl_city where CityId=" & Val(Me!txtEmail.Text) & ";"
        Set cn = CurrentProject.Connection
        cn.Execute strSql
        
        Debug.Print "MyTableView created"
        Set cn = Nothing
    End Sub
    I get the Run-time error '2185' when...
    See more | Go to post

  • Sep410
    started a topic ADO or DAO?

    ADO or DAO?

    Hi all,

    I have to write new application in access2003 and I am new in access. I edited access application before and this is first time I have to create one.

    I really don't know Which method I Should choose for my application ADO or DAO.

    The application only has 7 tables and I have to make data entery form fro this application as well. Please guid me what is the best way to do this.

    Is there...
    See more | Go to post

  • Sep410
    replied to Exporting crystal report to excel problem
    in .NET
    Thanks,
    That was what I needed.
    It is working well now....
    See more | Go to post

    Leave a comment:


  • Sep410
    started a topic Exporting crystal report to excel problem
    in .NET

    Exporting crystal report to excel problem

    Hi all,
    I have a report in crystal report when I export it to excel each column will be shown in 2 or 3 merged columns!!!
    The worst part is that sometimes the header of the column is in the A and B columns but the details of this columns are in B and C in excel sheet!!!
    I don’t want that and I want to have normal excel sheet with the boarders around each cell what should I do?
    Here is the example of my exported report...
    See more | Go to post

  • Sep410
    started a topic How to change Data connections in code
    in .NET

    How to change Data connections in code

    Hi all,
    Does anyone know how can I change Data connection in Server explorer in my code source?
    See more | Go to post

  • Sep410
    replied to Passing parameterto Crystal report in vb.net
    in .NET
    I found it:
    Code:
          Dim paramFields As New CrystalDecisions.Shared.ParameterFields()
                    Dim paramField As New CrystalDecisions.Shared.ParameterField()
                    Dim discreteVal As New CrystalDecisions.Shared.ParameterDiscreteValue()
                    Dim paramField2 As New CrystalDecisions.Shared.ParameterField()
                    Dim discreteVal2 As New CrystalDecisions.Shared.ParameterDiscreteValue()
    ...
    See more | Go to post

    Leave a comment:


  • Sep410
    started a topic Crystal Report in VB.net
    in .NET

    Crystal Report in VB.net

    I am really frustrated right now. I need to send parameter to crystal report and I am using sql query as a datasource of my report.
    Here is my code:
    Code:
    Dim rpt As New rptIntervals()
            Dim con As SqlConnection
            Dim sql As String
            Dim da As New SqlDataAdapter
            Dim ds As New DataSet
            Dim dc As CrystalDecisions.Shared.DiscreteOrRangeKind
            con = New SqlConnection(strCon)
    ...
    See more | Go to post

  • Sep410
    replied to Passing parameterto Crystal report in vb.net
    in .NET
    Thanks for reply but all the other things in my code is working fine.
    I need to know how should I pass parameter to crystal report.
    See more | Go to post

    Leave a comment:


  • Sep410
    started a topic Passing parameterto Crystal report in vb.net
    in .NET

    Passing parameterto Crystal report in vb.net

    Hi all,

    I have a report in Vb.net and I used Crystal report viewer contorol.

    The problem is I have 2 prameter in my report and I don't know how to pass the value to them.

    Code:
      Dim rpt As New rptOpenCase()
            Dim con As SqlConnection
            Dim sql As String
            Dim da As New SqlDataAdapter
            Dim ds As New DataSet
            con = New SqlConnection(strCon)
    ...
    See more | Go to post

  • Sep410
    started a topic Export dataset to excel
    in .NET

    Export dataset to excel

    Hi all,
    I want to export dataset to Excel and I get an error when I run this code:
    Code:
      For h = 2 To ds.Tables(0).Rows.Count
                    For j = 0 To ds.Tables(0).Columns.Count - 1
                        k = 0
      Excel.Cells(h, j) = IIf(ds.Tables(0).Rows(k).Item(j).ToString = "", "-", ds.Tables(0).Rows(k).Item(j).ToString)
                        k = k + 1
    
                    Next
    ...
    See more | Go to post
No activity results to display
Show More
Working...