User Profile
Collapse
-
No we cant make the friend function as static, bcoz Static member function can used only the static data member and friend function can use the private data member not the static data members. The static data member is having global scope but visible only within the class. -
[USE THE BELOW CODE
"TextArea" = _
& "FullName: " & txtFirstName.Te xt & " " & txtLastName.Tex t _
& VBNEWLINE & " Course: " & strCourse _
& VBNEWLINE & " Expiry: " & ddlExpireDay.Se lectedValue & " " ddlExpMon.Selec tedValue
& VBNEWLINE & " Heard About: " & ddlHeardAbout.S...Leave a comment:
-
add a MSChart control in ur application by
project->components->microsoft chart control
put a char in the form and
here i changed the name of chart control to cht and i use the able
With cht
.RowCount = 0
.ColumnCount = 0
If cmbName.ListInd ex = -1 Then
sql = "Select Code,StockQty,( PrPrice * StockQty) As val from MstItem Where stockqty > 0 and void...Leave a comment:
-
you have to write the code in the form from where u want to take the printouts first write the query in the command object SQL Statments(using any value of param1 and param2) and then make a report. now while calling that report befor that u have to write the following command
Dataenvironment name is Dtenv1
u r using the first command
then
Dtenv1.Commands (1).CommandType = adCmdText
sql="select empid,empname...Leave a comment:
-
u can use the foloowing code before the print command of datareport
DataEnvironment 1.rsCommand1.Op en
DataEnvironment 1.rsCommand1.Re query
DataEnvironment 1.rsCommand1.Cl ose
if ur command is command1 then u have to use rscommand1
if the above will not work then
open the table from which u r taking printout and make use requery command and then close it using record setLeave a comment:
No activity results to display
Show More
Leave a comment: