Best Method To Display Data On Intranet Of Company

Feb 16, 2004

Hi

Whats the best way to display data on company intranet or web
where they can make little choices also ( say between date so and so)
some thing like a report, with charts etc
with some graphical easy to learn language

I have strong knowledge of SQL and ok with HTML

View 3 Replies


ADVERTISEMENT

Transact SQL :: Display Total Of Company Expenses

Oct 6, 2015

In the below query  want to display total of company expenses. I am unable to get the sum of weeklycomexpenses

SELECT DISTINCT e.EmpID, e.EmpName, e.StartDate, e.EndDate, ee.WeeklyComTotalExpenses FROM
EMPArgentTimeSheet AS e LEFT OUTER JOIN (SELECT CExpID, WeeklyComTotalExpenses FROM
CompanyArgentExpenses GROUP BY CExpID, WeeklyComTotalExpenses) AS ee ON ee.CExpID = e.EmpID where EmpName = 'Eberhard Neumann'
and (e.StartDate >='8/1/2015')AND (e.EndDate <= '8/31/2015') order by EmpID desc

output:

empid empname startdate enddate WeeklyComTotalExpenses
397Eberhard Neumann2015-08-23 00:00:00.0002015-08-29 00:00:00.00019.20
393Eberhard Neumann2015-08-16 00:00:00.0002015-08-22 00:00:00.000NULL
387Eberhard Neumann2015-08-09 00:00:00.0002015-08-15 00:00:00.00078.00
382Eberhard Neumann2015-08-02 00:00:00.0002015-08-08 00:00:00.00081.99

Total 8/1/2015 8/31/2015 179.19 //want to display this total info

View 9 Replies View Related

Reporting Services :: Display Columns When There Is No Data To Display

Apr 30, 2015

I would like to display a portion of report where there is data or no data

There is data subreport  display   

     Product Name Latex Gloves  
     Product ID      
xxxx5678

 There NO data in the subReport
 
  Product Name                          
   Product ID    

View 3 Replies View Related

Send Request To Stored Procedure From A Method And Receive The Resposne Back To The Method

May 10, 2007

Hi,I am trying to write a method which needs to call a stored procedure and then needs to get the response of the stored procedure back to the variable i declared in the method. private string GetFromCode(string strWebVersionFromCode, string strWebVersionString)    {      //call stored procedure  } strWebVersionFromCode = GetFromCode(strFromCode, "web_version"); // is the var which will store the response.how should I do this?Please assist.  

View 3 Replies View Related

Intranet Set Up With SQL Server And ASP

Mar 5, 2004

Dear all,

I am trying to make a Intranet connection with SQL 2000 and ASP,
but a serious problem in connection string. Please can you help me in this issue

I am using following connection string.


(windows authontication)

Set conn=Server.CreateObject("ADODB.Connection")

conn.Mode=adModeReadWrite
conn.Open="PROVIDER=SQLOLEDB;Integrated Security=SSPI;Initial cataloge =nrth;DataSource=server"


System dsn =nrth
server name =server


This string makes following error


Microsoft OLE DB Provider for SQL Server error '80040e4d'

Invalid connection string attribute

//global.asa, line 17

Microsoft OLE DB Provider for SQL Server error '80040e4d'

Invalid connection string attribute

/test2.asp, line


can you correct this or suggest a valid connection string


Thank you

View 2 Replies View Related

SUSER_SNAME() In Windows Intranet App

Oct 19, 2006

I've just broken out in a bit of a cold sweat on reading a couple of other posts in here...My scenario is that I've developing an intranet only application which will use Windows authentication at the back end, with users allocated into several NT groups (Users, Managers, PowerUsers, Admin etc) and given permissions to the appropriate stored procedures/ views. Windows security will also be used on the front end, so that less privileged users won't be able to see web pages or their menu entries. I'm assuming this is a common scenario and have been blithely developing away without giving much extra consideration to it. However, I'm using SUSER_SNAME() in some of my procs and triggers to record who updated or inserted records. From what I've read, it appears that this function will only return the ASP.NET user, not the Windows NT username of the person under a Windows authenticated ASP.NET application. Is this correct? If so, does all the security have to be scripted in the front end, and given that triggers don't take parameters, how can I supply a trigger with the actual name of the person who made the change.Apologies if I have the wrong end of the stick, I have no way of actually testing the security out at present as I'm working from home, but this is quite alarming, as you can imagine.

View 2 Replies View Related

Accessing SQL Server On Intranet Using VB.NET

Jul 29, 2004

How can I connect to SQL server on intranet using VB.NET??
I am unable to do that using system DSN.
can anyone tell how to do that either through DSN or anyother way.

View 2 Replies View Related

Connect To Server Via Intranet - How Is It Done (new To This)

Sep 21, 2004

Hi all!

I have msde2000 on one machine. want to connect to it from other machine. both machines are connected via a switch with integrated firewall.

Do I need to set up this firewall to enable connections? Like opening ports for msde in the virtual servers settings of the firewall?

If I do this, will that make my sql-server visible and accessible to the internet?

Or should I be able to find my sql server without such steps. And if so how?

networking is up and i can access folders of both machines via the intranet. Is that enough or do i need more settings here?

Let's say the machine and thus the server is called Alpha. What goes into my connectionstring from the other machine?

this wont be enough, right?
strconn = "Provider=SQLOLEDB;" & _
"Data Source="Alpha";"


Please shed some light on these questions.

tia

Kuma

View 1 Replies View Related

ASP + SQL Loads Really Slow Over Intranet

Jul 23, 2005

Hi guys,I've created a web application using ASP together with SQL Server asour db source, running through IIS 6 on a Winows Server 2003 platform.This application retrieves a list of customer codes from our db, sorecords returned could be as many as 2000+ for any single transaction.The application runs fine for users from the same state. However, ourinterstate colleagues have notice that it takes more than 3-4mins forthe page to load, while it only takes me < 2secs to load.Our intranet server is located in the same state as I, so anyone fromwithin this state has no problems loading the page. All other statesare finding it unbearable.I've done some debugging, and it appears to be a server factor.I saved the page with the longest list to a local drive and opened itlocally in IE and it loads quickly.Does anyone have any suggestions as to how to speed this application upfor our interstate users?Any ideas would appreciated.Thanks,Shawn

View 3 Replies View Related

Data Access Method

May 4, 2007

I have built a WM5 SQLce2005 application using, primarily, table adapters which sparked a discussion whether it is more effiecent to use table adapters or use SQLce command execution with coding for a device.

Are there any papers / threads or thoughts as to the best access method to use?

View 1 Replies View Related

Web Form Page To Intranet Mssql

Dec 28, 2007

hi. I am struck at the connection string for the mssql 2005, with the reference from connectionstring.com information.
Basically i am trying to make web form page and upload to hosted server. so that public will fill up and submit. It will communicate with our intranet server with mssql 2005.
I had try out the form and submit, but it is not working, either our database had not receive yet.  
Code 
sSQL = "INSERT into users_tbl (name, email, comments) values ('" & _name & "', '" & email & "', '" & comments & "')" 'define the connection string, specify database'driver and the location of database
sConnString = "Driver={SQLServer}; SERVER=202.63.128.69; Port=1433; DATABASE=test; UID=testname; PASSWORD=testpw;"
Code
 I had googled for help and found no answer for this, i wonder if it is possible? Assume i allow all the database to be remoted.
 Cant figure it out and turn to this website for help hopefully.

View 8 Replies View Related

SQL Server Express 2005 On Intranet

Nov 20, 2007



I am developing a web application on my XP machine using ASP.NET 2.0 and SQL Server 2005 Express. I have SQL Server 2000 running on my Server 2003 machine but I want to test my application using 2005. If I install 2005 Express on my 2003 server, am I going to be able access it from my XP box?

View 1 Replies View Related

Update Method Is Not Finding A Nongeneric Method!!! Please Help

Jan 29, 2008

Hi,
 I just have a Dataset with my tables and thats it
 I have a grid view with several datas on it
no problem to get the data or insert but as soon as I try to delete or update some records the local machine through the same error
Unable to find nongeneric method...
I've try to create an Update query into my table adapters but still not working with this one
Also, try to remove the original_{0} and got the same error...
 Please help if anyone has a solution
 
Thanks

View 7 Replies View Related

What's The Best Method For Updating Related Data?

Jul 31, 2006

Can you describe the best (or your preferred) method for updating data held in a related table using Visual Studio 2005 and SQL Server.
For example; if you had a stock control system with the product names and current stock levels in one table and all stock movements in and out held in another table, what is the best, fastest, safest and most reliable method of inserting a stock movement and then updating the current stock level?
I have tried a couple of different methods but would really appreciate a wider range of opinions.
Thanks

View 2 Replies View Related

Most Effective Method Of Managing The Data?

Mar 2, 2004

I have a large SQL Database im building, in the database there is a table for each user with certain things listed. One problem is, sometimes in a few collums, there will be like 100things listed, instead of one line.


For Example:

Products in that some users will have 1 product like "apples" but others will have many more products.

What is the most effective way of listing the data? Create new tables? Seperate the products with comma's or spaces?


How do I do it, and keep the overall db size smaller?

Thanks

View 5 Replies View Related

Calling DTS Via ASP.NET Works Locally But Not When Published To Intranet

Jan 19, 2007

I have a DTS package that I am calling in my code-behind (vb) of one of my asp.net pages on my intranet. The package takes a FoxPro table that is on our network and inserts it into a SQL Server table in one of our databases. The package gets called and executed properly when I am working on it in development on my local workstation, but when I publish it to our intranet, which is in the same domain and behind the same firewall, the package does not execute. No error shows up on the published page, but also nothing gets executed. Has anyone encountered this? Here is my code, which is pretty straightforward:
oPkg = Server.CreateObject("DTS.Package")oPkg.LoadFromSQLServer("[servername]", "sa", "[password]", DTSSQLStgFlag_Default, "", "", "", "Invoice Import")oPkg.Execute()
Any help would be appreciated. Thanks.

View 3 Replies View Related

Is That Possible From Live Website Sql Record To Intranet Database ?

Aug 2, 2007

hi.
 I would wish to know whether it is possible for me to program the code from html or aspx ( from web hosting server ) to our office intranet database which is window server 2005?
 I had tried to google for more info but there are too complicated thing for me to understand.
Actually i am doing the web form feedback form from the website for the public to fill in and submit. i am using the mysql from web server to store the records from the feedback form.
We have another database in our server, ms server 2005 to store records in the intranet office only. i need to get the records from mysql to intranet database. i don`t think there is a automated scripting which allow u to auto update the intranet database from mysql( web server )
So i thought of one thing . program html or aspx to insert records directly to our database intranet . but how ?
 I appreciated that.
Regards
newbie on aspnet.

View 3 Replies View Related

Does Sql Ce 3.5 Beta Version Support Remote Access In Intranet

Sep 26, 2007

I need to connect to a sql ce data file via Intranet .
Does sql ce support that ?
When I attempt to connect that remote file, it show me the error message
"There is a file sharing violation .A different process migth be using this file".

Does this mean , I can not do this .

View 5 Replies View Related

Method Or Data Member Not Found Am I Missing A Ref Lib?

Mar 25, 1999

Below is code that I have aquired from both the SQL6.5 Books online and a VB5 book. The problem is that when I run this code it returns back the error Method or data member not found. OK I have been to Projects References and made sure that both the Microsoft RemoteData object 2.0 and Remotedata control 2.0 where both included in my project.

The Remotedata control works great, however it does not allow me to Add data and Remove Data.

Am I missing a Reference file?
Do I have the correct version of Remotedata objects?


Private Sub Command1_Click()

Dim cn As rdoConnection

Set cn = rdoEngine.rdoenviroments(0).OpenConnection("sqlser ver")

Dim mysql As String
mysql = "select cuscode from customer where cuscode = '1122'"
Dim myqy As rdoQuery
Set myqy = cn.CreateQuery("myqy1", "")

myqy.SQL = mysql

Dim myrs As rdoResultset

Set myrs = myqy.OpenResultset(rdopenfowardonly, _
rdConcurReadOnly)

While Not myrs.EOF
Debug.Print myrs(0)
myrs.MoveNext

Wend

myrs.Close
myqy.Close




End Sub


Thanks in advance.


LoPingKill
loping@inlink.com

View 2 Replies View Related

Reliable, Fast Method Of Exporting Data To Sql

Jul 5, 2007

Hi,



For this scenario, what is the best method of exporting data to sql 2005.



I want to export data from desktop app across internet to sql which can do on a row by row basis, but this is very slow and if the connection goes down halfway then pretty much buggered.



What is the best, reliable and fastest way to copy data across internet (several thousand rows), I have read about Bulk Insert etc... but also how would get around an upload and crashes half way, is there a way of uploading and until the whole upload goes through then the data is inserted into the database.



Would appreciate any guidance.



Richard

View 3 Replies View Related

ReportExecutionService Render Method - Setting The Data - XML

Feb 2, 2007

Hello all,

I'm at a bit of a loss as it seems what I want to do should be obvious but I can't seem to locate whether it is possible. Essentially I would like to render a report using the api/C# and I would like to set the actual data the report renders via an XML string that I construct however I like within my code. Is this not possible? I hope I'm overlooking the obvious here.

Thanks in advance for your feedback.

View 4 Replies View Related

Using Exec &&amp; Code Area Method In Data Tab

Dec 27, 2007





Hi, i'm new to reporting services, rather new to heavy processing in reporting services. i have scenario
for which i need your help. so here it goes,

i have a method in Code area of the report, i'm passing parameter values to it. the method willl return me a swl query in string format. i need to execute it in data tab area. the codei have used in data tab is as below. please let me know. wat to do to make it right. thx

EXEC ('Code.Main(Parameters!Param1)' +
UNION
+ 'Code.Main(Parameters!Param2) ' +
UNION ALL
+ 'Code.Main(Parameters!Param3)')

Thx again


i need to get this report done really soon, so please, if u have any idea let me know ASAP

View 6 Replies View Related

What Report Manager Config Options Are Available If Some RS Users Are Internet And Others Are Intranet?

Jan 2, 2008

If we decide to make Report Manager the UI facing both internet and intranet users, but prefer that our intranet users not face the performance hit created by SSL, and prefer that SSL be turned on for internet users, what options do we have for configuting our RS environment if all users ultimately use the same reports and we wish to keep number of licenses at a minimum?

View 1 Replies View Related

Low Cost Method To Check Database Before Inserting Data

Jul 23, 2005

I developed a console application that will continually check a messagequeue to watch for any incoming data that needs to be inserted into MSSQL database.What would be a low-cost method I could use inside this consoleapplication to make sure the MS SQL database is operational before Iperform the insert?

View 7 Replies View Related

RDA Pull Method Not Creating Tables/inserting Data

Aug 7, 2006

I can't see what is going on, this is the situation:

I call the Pull method, specify the table to be affected, the query to be used, the connection string to the remote SQL server, the tracking options (On) and the Error table. The pull method executes with no errors however, no table is ever created. I don't know why, here's what I have done so far:

I read the SQL BOOKS ONLINE help on preparing RDA, I set up the IIS virtual directory for anonymous access and on the connection string I send in the user name and password for the SQL server, I went into the SQL Server and grated access to the user name to the database that I am going to access and I made the user a db_owner.

So, according to SQL BOOKS ONLINE I have everything right however, it won't populate, so right now I am open to suggestions on how to get this to work, heres the code:
------------------------------------------------------------------------------------------------------------------
string rdaOleDbConnectString = "Provider=SQLOLEDB;Data Source=<Server>;Initial Catalog=<DB>; User Id=<User>;Password=<Password>"; (it's not exactly like this, but in it has the proper values)
string connectionString = "Data Source="\Program Files\client\db\MobileDB.sdf"";

SqlCeRemoteDataAccess rda = new SqlCeRemoteDataAccess("http://10.1.1.206/mobile/sqlcesa30.dll",
connectionString);

IList _tableNames = new ArrayList();
IList _queries = new ArrayList();

############
Code that prepares tables and queries
############

for (int counter = 0; counter < _tableNames.Count; counter++)
{
rda.Pull(_tableNames[counter].ToString(), _queries[counter].ToString(), rdaOleDbConnectString, RdaTrackOption.TrackingOn, "MobileError");
}


the For loop runs with no problems but no data is ever put (or tables created) into the Mobile DB.

View 10 Replies View Related

Which Method Is Better For Transfering Data Using Direct Inserts/SSIS?

Feb 7, 2007

Hi

I'm transfering legecy data to SQL Server.

Can anybody tell which method is best.

My boss wants cutome user interface to choose options and Need to update UI during processing.

Currently I'm using Direct INSERT Stmt (T-sql) Execution.

Can Anybody suggest the best.

View 1 Replies View Related

Ho To Make Data Source Web Method Execute Once Per A Report?

Jan 11, 2007

My report works with XMLDP data provider and obtains source data as a
result of a web method call. This memthod returns all data necessary
for the report. Thus, all of about 20 report datasets query the same
web method with the same parameters and then select appropriate data
with different ElementPath expressions. It's so inefficient and
time-consuming! I cant have respective web method for every dataset.
How can I configure SSRS to call web method only once while the report
is executing? Or how can I leverage the performance at all?

View 1 Replies View Related

Intranet, Windows Authentication, Sql Server Login Failed For User '(null)'

Mar 31, 2006

Hi--
I am building an intRAnet website using windows authentication for website access and SQL Server access ( Trusted_Connection = true ).
In IIS I have these settings:

Allow Anonymous = unchecked (false)
Windows Authentication = Checked (true)
Digest windows = checked (true)
In my Web.Config file:

authentication="windows"
impersonate="true"
allowusers="*"
When I pull up the page these are my credentials:
Security.Principal.Windows:                  mydomainmyuserid (this is correct what it shows on my page)
Me.User.Identity:                                  mydomainmyuserid (this is correct what it shows on my page)
Threading.currentThread.currentUser    mydomainmyuserid (this is correct what it shows on my page)
 
So the ASP.NET page recognizes it is me and my domain.  However, when i click a button to pull some data from a database I get the error message: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
My data access on SQL Server works fine.  The weird thing is when I debug on my machine it pulls data fine.  but when I copy the files to the windows 2003 server it doesn't work. 
Do i have to do something with delegation?

View 1 Replies View Related

Plz Help Me To Upload My Sqlserver Data Base With Query Analyzer Method

Jul 27, 2004

plz help me to upload my sqlserver data base with query analyzer method
plz write the code i should write in query analyzer box to uplode
my database(db) in my server(h_server)
and is it neccessary to uplode log file or not
,or guide me with intruducing a site

View 2 Replies View Related

Transact SQL :: Method To Generate Insert Statements For Data In A Table

May 30, 2013

I have a database which will be generated via script. However there are some tables with default data that need to exist on the database.I was wondering if there could be a program that could generate inserts statments for the data in a table.I know about the import / export program that comes with SQL but it doesnt have an interface that lets you copy the insert script and values into an SQL file (or does it?)

View 7 Replies View Related

Company - Address

Apr 17, 2004

I need some help devising my tables.

I have a company table and a address table. I have created a linked table with two foreign keys from the company table and the address table respectively.

This set up allows me to apply more than one address per company which is fine. My problem is that I need a way to prevent a company from entering exactly the same address twice.

In the address table i have the following fields:

AddressKey - PK
CompanyKey - FK
Address 1 - 3
Town
County
Country
PostCode

In the company table I have the following fields.

CompanyKey - PK
FirstName
Secondname

And finally in the link table I have the following:

CompanyKey - FK
AddressKey - FK.

Now, if i entered the following into the address table Assuming that company id of 1 was already entered into the company table.

AddressKey - 1, CompanyKey = 1, Address1 = 11 Address2= Taylor

I need a way of preventing this from happening.

AddressKey - 2, CompanyKey = 1, Address1 = 11 Address2= Taylor

As can be seen the PK - FK values are unique and are correct for referential integrity, but the actual address is the same.

Any help we be mostly appreciated.

Cheers

Wayne

View 13 Replies View Related

Company-calendars

Jul 23, 2005

Dear All,How to store a separated company-calendar for each client-company (about500).Company-calendar: workingdays, non-workingdays, meetings, etc.Thanks,Filips

View 1 Replies View Related

Company Dimension

Jan 25, 2007

We deal with multiple vendors who provide us information via text/xml files. Vendor A may provide financial data, vendor b provides litigation data, vendor c provides ratings data. Our current structure has databases for each vendor with its own company table which basically makes all this data disconnected. Of course each vendor has its own proprietary company id to make records unique.

All of the data is based on companies so the grain of data would be at a company level. I would like to be able to link this information together by creating a dimensional model that has a single company table (DimCompany) and has facts populated based on the type of data we receive. Would this be the right sequence of events?

1. My initial load (historical) would have to look at all these data sources and create one company record in my DimCompany table. This table would then link to all other fact tables to provide a single view of company info. I would imagine this would have to be a fuzzy lookup since one company will be in all sources.

2. On subsequent loads (incremental) I would probably have to do a lookup of companies in the dimension via the proprietary code and add if the company wasn't there.

Any advice on tackling this issue would be greatly appreciated especially if SSIS was used in the process.

View 12 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved