User Profile
Collapse
-
Thanks But is there any way I can have sum of the text box it is too hard to change that query. -
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.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... -
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 -
I found it.
Access Option section------> Application Options------->Overlapping Windows should be selected.Leave a comment:
-
-
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... -
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!!! -
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. -
-
Run-time error '2185' You can't reference a property or method
Hi all,
Here is my code:
I get the Run-time error '2185' when...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 -
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... -
-
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... -
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? -
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()Leave a comment:
-
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) -
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.Leave a comment:
-
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) -
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
No activity results to display
Show More
Leave a comment: