|
u mean on date 01/01/2007 02/01/2007 03/01/2007
1 2 3
1,2,3 ae the date related to the 01/01/2007 ,02/01/2007,03/01/2007 dates respetively.
u want to display the epot in the above pattern.
|
|
|
|
|
can u help me
pls send me link or code
|
|
|
|
|
the thing is u have to develop the eports uself.
All I can do is , I can tell u the way , how to proceed.
First include a report file to ur project
then u will see a dialog box , select the coss tab there
the next page is for new connection creation
select the new connection creation and collapse the plus button
select the type eg access
click next
select the database
after this u will get the tables .
select the table u want.
after then click next
do the linking between the tables(relation between the tables.)
then u will get a dialog box
select the field for the heading
like on the paticuar date u have to show it's product.
select the date field likewise for the columns
and for the summary field select the field that u want to display under the date.
and remaining for the rows.
and finally click finish
Hope thid will help u.
|
|
|
|
|
sir
can u tell me that
where is report file
(how can add it)
I added report from windosForm
it shows report with following msg
"To creat a report layout,drag items from the toolbox & fileds list & drop them here"
what i do
|
|
|
|
|
Mam,
right click on the project in solution explorer and click to add--- add new item
select the report file(.rpt)
|
|
|
|
|
sir
i tried to follow it
but there is not .rpt
there is .rdlc
so I changed it as .rpt and it showed as
<code><?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<Width>6.5in</Width>
<Body>
<Height>2in</Height>
</Body>
<rd:InitialLanguage>true</rd:InitialLanguage>
<rd:InitialDimensions>
<rd:UnitType>Inch</rd:UnitType>
<rd:LeftMargin>1in</rd:LeftMargin>
<rd:RightMargin>1in</rd:RightMargin>
<rd:TopMargin>1in</rd:TopMargin>
<rd:BottomMargin>1in</rd:BottomMargin>
<rd:PageWidth>8.5in</rd:PageWidth>
<rd:PageHeight>11in</rd:PageHeight>
<rd:ColumnSpacing>0.5in</rd:ColumnSpacing>
</rd:InitialDimensions>
<rd:InitialDimensions>
<rd:UnitType>Cm</rd:UnitType>
<rd:Width>16cm</rd:Width>
<rd:Height>5cm</rd:Height>
<rd:LeftMargin>2.5cm</rd:LeftMargin>
<rd:RightMargin>2.5cm</rd:RightMargin>
<rd:TopMargin>2.5cm</rd:TopMargin>
<rd:BottomMargin>2.5cm</rd:BottomMargin>
<rd:GridSpacing>0.25cm</rd:GridSpacing>
<rd:PageWidth>21cm</rd:PageWidth>
<rd:PageHeight>29.7cm</rd:PageHeight>
<rd:ColumnSpacing>1cm</rd:ColumnSpacing>
</rd:InitialDimensions>
</Report>
</code>
where is problem?
|
|
|
|
|
u r doing window applicatons or web applications?
|
|
|
|
|
|
then find the crystalreports .rpt file, it is there .add it to ur project.
|
|
|
|
|
sir
actully Crystal report is not installed by admin
I am student & not permissions to do it
is there any way for report generation
|
|
|
|
|
then ask ur adminitrator to install it now.Simple
|
|
|
|
|
|
****************sigh*****************
|
|
|
|
|
HI,
i'm trying to develop an application that will call VB C++ ocx funtion. When i try run in Visual basic 6.0, everything run smootly,but after i created an exe file and try run with the exe file. It will prompt out an error message "Automation Error The Object invoked has disconnected from client -2147417848". Have anyone know how to solve it?
I am appreaciate if anyone can guide me.
kelvin
|
|
|
|
|
I am developing a window application with screen resolution 1024*768
now when i change it to 1280*1024 then the display changes
how can i make sure that display remains the same even when resolution is changed.
|
|
|
|
|
You can set the dock and anchor properties of your controls so they resize nicely. Or you can make your app a fixed window size by setting the window style so it doesn't allow resizing, and make sure there's no maximise button on the form.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hello ,
There is good Idea only if you try bit hard
All you have to do is Add Controls at runtime and Fix the size of Controls on the basis of percentage of Screen resolution
Hope you are getting my idea
Develop2Program & Program2Develop
|
|
|
|
|
Hello,
You have two choices:
1) use API's to change the resolution to the default resolution(1024*768).
2) Make use of the scrollbars, so that when the resolution is changed, then by using scrollbars the control(s) can be traversed.
S.N.Prasad
|
|
|
|
|
Hello,
[2005]
I have form that uses a timer control. The user can stop, start and reset this timer. The idea of this timer is to log how long a engineer has taken to complete a specific job. The user will stop the timer by clicking a button on the form.
However, the problem is that the user can close the form and when they do the timer will automatically stop.
I am looking for a solution what will allow the timer to function after form has been closed and when the form is re-opened no time has been lost.
I know that the timer will run in the UI thread, so is it worth creating another thread for the actual timer control?
This is a mdi application, is it a better solution to have the timer control placed on the parent?
Many thanks for any suggestions and ideas,
Steve
|
|
|
|
|
steve_rm wrote: I am looking for a solution what will allow the timer to function after form has been closed and when the form is re-opened no time has been lost.
You obviously need to store the timer outside the form, so that whereever it is, it will keep running. Making it static (shared) may work, I am not sure.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
You might also look into stopping them from closing the form and hide it instead when they try to close it.
|
|
|
|
|
'//////////////////////////////////////////////////////////////////
Private Sub Command1_Click()
For Each prnPrinter In Printers
If prnPrinter.DeviceName = "BIXOLON SAMSUNG SRP-275" Then
Set Printer = prnPrinter
Exit For
End If
Next
If Printer.DeviceName = "BIXOLON SAMSUNG SRP-275" Then
Printer.Font.Size = 9
Printer.FontName = "FontControl"
Printer.Print "x"
Printer.Font.Size = 9
Printer.FontName = "FontA2x1"
Printer.Font.Bold = True
Printer.Print "* Joshua Cafe *" + vbCrLf
Printer.Font.Bold = False
Printer.Font.Size = 9
Printer.FontName = "FontControl"
Printer.Print "w"
Printer.Font.Size = 9
Printer.FontName = "FontA1x1"
Printer.Print " 3000 Spring Street, Rancho,"
Printer.Print " California 10093,"
Printer.Print " Tel) 858-519-3698 Fax) 3852"
Printer.Print vbCrLf + "---------------------------------" 'LF
Printer.Print "Orange Juice 5.00"
Printer.Print "6 Bufalo Wing 24.00"
Printer.Print "Potato Skin 12.00"
Printer.Font.Bold = True
Printer.ForeColor = RGB(255, 0, 0)
Printer.Print "Subtotal 41.00"
Printer.ForeColor = RGB(0, 0, 0)
Printer.Font.Bold = False
Printer.Print "Tax 6% 2.46"
Printer.Font.Bold = True
Printer.ForeColor = RGB(255, 0, 0)
Printer.Print "Member Discount 2.30"
Printer.ForeColor = RGB(0, 0, 0)
Printer.Font.Bold = False
Printer.Font.Bold = True
Printer.Print "Cash 100.00"
Printer.Print "Amt. Paid 41.16"
Printer.Font.Bold = False
Printer.Font.Bold = True
Printer.ForeColor = RGB(255, 0, 0)
Printer.Print "Change Due 58.84"
Printer.ForeColor = RGB(0, 0, 0)
Printer.Font.Bold = False
Printer.Print "---------------------------------"
Printer.Font.Size = 9
Printer.FontName = "FontControl"
Printer.Print "x"
Printer.Font.Size = 9
Printer.FontName = "FontA1x1"
Printer.Print "Member Number : 452331949" + vbCrLf
Printer.Font.Size = 9
Printer.FontName = "FontA1x1"
Printer.Font.Bold = True
Printer.Print "Have a nice day !" + vbCrLf
Printer.Font.Bold = False
Printer.Print "Sale Date: 07/01/03"
Printer.Print "Time: 12:30:45"
Printer.Font.Size = 9
Printer.FontName = "FontControl"
Printer.Print "w"
Dim pic As Picture
Set pic = LoadPicture(App.Path & "\free5_100.bmp")
Printer.CurrentX = 60
Printer.CurrentY = 5000
Printer.PaintPicture pic, Printer.CurrentX, Printer.CurrentY
Printer.CurrentY = Printer.CurrentY + pic.Height
Set pic = LoadPicture(App.Path & "\cafeblue208.bmp")
Printer.PaintPicture pic, Printer.CurrentX, Printer.CurrentY
Printer.CurrentX = 0
Printer.CurrentY = 9000
Printer.Font.Size = 9
Printer.Font.Name = "FontControl"
Printer.Print "g"
Printer.EndDoc
Else
MsgBox "SRP-270 windows driver don't installed"
End If
End Sub
'///////////////////////////////////////////////////////////////////////
Pls help me to solve this problum
Regards
Kusal
|
|
|
|
|
It seems likely to me that the classes to do this will have changed so utterly that your best bet is a rewrite
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
If you are clear of what you are trying,then better have a new project by this u will be getting more options and tools to enhance your project .
Develop2Program & Program2Develop
|
|
|
|
|
Hello,
I am working on a custom control which has 'items' the only thing left to do which has me stumped is getting the items to persist.. I have searched around but am either looking for the wrong thing or there isnt a simple tutorial out there.. because when I add items at design time they disappear once I build/run my application.
Can anyone help or point me in the right direction?
Thanks
Ian.
|
|
|
|