Quantcast
Channel: VBForums - Database Development
Browsing all 2918 articles
Browse latest View live

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 Article


delete 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 Article

Advice 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 Article

Image may be NSFW.
Clik here to view.

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 Article


Runnvarchar manually no variable improve speed

Hi. I am having this query Code: DECLARE @DateFrom as DateTime, @DateTo as DateTime SET @DateFrom =...

View Article

Image may be NSFW.
Clik here to view.

[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 Article

CASE 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 Article


help 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 Article


MS 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 Article

Firewall 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 Article

Calling 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 Article


Calling 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 Article

MySQL 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 Article


Count 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 Article


Problems 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 Article

How 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 Article

What 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
Browsing all 2918 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>