Update a record using Entity Framework
I have been using the Entity Framework for about 5 minutes, and I have a question on how I can update my table using it. I am displaying a combobox so an admin user can select a project id. The...
View Article[RESOLVED] Update a record using Entity Framework
I have been using the Entity Framework for about 5 minutes, and I have a question on how I can update my table using it. I am displaying a combobox so an admin user can select a project id. The...
View Articledelete a pair of records with algebraic summ.....
I use ado and vb6 classic and access database... in table have: Field1 Field2 Field3 AAA BBB -100 AAA CCC 100 AAA BBB 100 AAA BBB 100 ..... based the goup by Field1 and Field2 i need to delete a pair...
View ArticleAdvice on Perfomance Turning of the Query
hi guys I need some advice , i have a Query that runs very long because of the following lines of Code , i know you dont understand my data or table structure , you can just advice on a High Level...
View ArticleVS 2013 - Updating TableAdapterManager Raises An Error
Hello, Good Day I'm hoping someone here can help me with this, I'm using data sources and for awhile now I've been looking into why i can't update the database with new data and this is as far as I've...
View ArticleRunnvarchar manually no variable improve speed
Hi. I am having this query Code: DECLARE @DateFrom as DateTime, @DateTo as DateTime SET @DateFrom =...
View Article[RESOLVED] VS 2013 - Updating TableAdapterManager Raises An Error
Hello, Good Day I'm hoping someone here can help me with this, I'm using data sources and for awhile now I've been looking into why i can't update the database with new data and this is as far as I've...
View ArticleCASE help I think!!
I need some help with this as I am not majorly SQL knowledgable and this has got me stuck at the point I do not know where to start, so hopefully someone could assist. I have a table called...
View Articlehelp on count rows.
Hi. SQL 2005. Code: SELECT TOP 5 Film_strTitleAlt FROM ZZ_vwpProgressBoard GROUP BY Film_strTitleAlt ORDER BY Sum(Admissions+CoolAdmissions)desc will give top 5 films. I want to get the total number or...
View ArticleMS Access 2010 Macro Error Subscript out of range (Error 9) and Overflow
Hi, Please help me fix below code. I tried to troubleshoot by looking at several site and I'm not too familiar with VBA code. I have MS Access database. In Access database, I have form where user...
View ArticleFirewall Frustration
If you saw my previous thread, this is a continuation. By trying various things, I was able to get to the point where this code: Code: Dim dSourceInstanct = SqlDataSourceEnumerator.Instance Dim dt As...
View Article[RESOLVED] perventage of specific film issues.
Hi, pulling my hair here. I want to get the percentage of a specific film but what i get is 100 in all rows. Code: SELECT Cinema_DisplayName, Sum(Admissions) AS Admissions ,(select...
View ArticleCalling Oracle function from MS Access
I am trying to execute a stored procedure from an MS Access connection using the below connection: Public Const conn1= "Driver={Microsoft ODBC for...
View ArticleCalling Oracle stored procedure from MS Access
I am trying to execute a stored procedure which accepts an input parameter and returns a resultset using ref cursor, from an MS Access forrm using the below connection string: Public conn1=...
View ArticleMySQL Query Help...Find name that satisfy two columns
I need to find a query that will do the following psuedo-code for my Track and Field database For each (select NAME in TrackLeague where EVENT ='100m Dash') Check if this individual also competed in...
View ArticleCount Within SELECT CLAUSE
within my sql search I want to count rows where a column as the value 2 in it. My column is a integer type and should have values 1,2,3, 4 or 5. I want to a vb.net Code: SELECT COUNT(EntryType) As Cnt...
View Article[RESOLVED] MySql : Unknown database problem
I am having a problem on WAMP Server (PHPmyAdmin) when I open it, no database on list but still accessible. When I try to create new database I am getting error "Unknown database" but in ODBC test is...
View ArticleProblems with SQLite parameters, VB.NET
I'm trying to migrate my program from mdb to SQLite. In general, it is not so difficult job. I simply changed all appearances of "OleDb" to "SQLite" (search and replace option works fine). The only...
View ArticleHow can an SQL query return data from multiple tables
Hi, I have two tables. I want to join two tables together in a single sql statement. I want to make the sql statement return the field where there is a matching record in two tables based on the...
View ArticleWhat have you all done for formatting letters
I've got to create a letter generator - basically a series of form letters sent to participants on a scheduled and ad-hoc basis. Done the backend for this many times before - letter tracking table -...
View Article