Paramaterizing SQL statements
Hello, I understand the danger of Little Bobby Tables, but I was wondering if its possible to concatenate an SQL statement. I know - most of you have already deemed me an idiot, but here's the scenario...
View ArticleDeploying A complete multi-user Visual Basic App With an Access Backend On A...
Greetings, Im new to this forum and i seek help to a query that has bothered me for a while. Iam an access developer and new to vb and have been designing databases in vb 2008 express. I am familiar...
View ArticleError - Item cannot be found in the collection corresponding to the requested...
Hi, I am really really new to vbs script. This script was written by an employee who doesnt work in our company anymore, and its broken now, for no apparent reason. It was working fine for a year, but...
View ArticleDoes SQL database work on other computer?
I'm quite new at SQL and trying to build an application with sql database. While working with databases I noticed that sql database is usually saved in local sql server (which in my case is...
View Article[RESOLVED] Using VS Express 2012 and MS access DB
Hi, I'm totally new in developing applications using VS Express 2012, I'm trying to build an application using VB and MS Access. I do have some questions would you please help answering: 1- How to save...
View ArticleWindows form to insert data into two different tables
I'm using MS Access 2010 and VS Express 2012. I'm trying to design a windows form that would insert data into two different tables. The tables are a parent and child the first table (Parent) includes...
View ArticleADO - Out of memory when updating a disconnected recordset
Greetings, Im debugging some existing code where a disconnected recordset (populated from a store procedure), containing roughly 45,000 records when updated via the .fields(name).value property is...
View Articlesave information from form to acces mdb
hello everyone what i am trying to do is to save infos like texboxs and checkboxs filled previously in a form in a recently created mdb file i am still new to vb so i would appriciate your help using...
View ArticleDateDiff query
how to use datediff in my query to get the difference between two time form the table i wrote a query but its may have some errors and not working Code: Select [Date],[TimeIn], [TimeOut], DateDiff(m,...
View Articleplease help me optimize this fairly short query
select Chinese from tblDictionary where Chinese not in (select Chinese from tblWordList) and Chinese not in (Select Chinese from tblRejects) tblDictionary has 100,000 records tblWordList has 800...
View Article[RESOLVED] please help me optimize this fairly short query
select Chinese from tblDictionary where Chinese not in (select Chinese from tblWordList) and Chinese not in (Select Chinese from tblRejects) tblDictionary has 100,000 records tblWordList has 800...
View Article[RESOLVED] Use of Index on Primary Key?
I'm sad to say that I have been using SQL Server for quite sometime. I am pretty adept at writing queries and creating tables and such, however, I have never incorporated Indexes in my Database...
View ArticleVisual Basic App That Inserts Data Into a Oracle Database
Hello. I've been struggling with an issue for 2 days now. I have a server running Microsoft Server 2008. It has an Oracle 11g database on it. I also have an additional computer that has SQL Developer...
View Article[RESOLVED] Visual Basic App That Inserts Data Into a Oracle Database
Hello. I've been struggling with an issue for 2 days now. I have a server running Microsoft Server 2008. It has an Oracle 11g database on it. I also have an additional computer that has SQL Developer...
View Articleproblem querying an access dbase
so here's the problem. this code works great: cn.CursorLocation = ADODB.CursorLocationEnum.adUseClient cn.Open("PROVIDER=Microsoft.ACE.OLEDB.12.0; Data Source = " & Application.StartupPath &...
View ArticleCan I Copy tables,procedures,views from a database to another using VB6?
I am developing a school software which will create a new database each year with the same structure as the one with previous year (even with constraints etc). What is the syntax
View ArticleCan not get @@Identity to work
Hi I'm using Access 2010 and vb 2012 and I'm trying to retrieve the ID from a table to be written to a textbox but the value is always zero. Below is the code being used. Code: Dim cmd As New...
View Articleenity set error
''Add a record set in msaccess exceptit a Entity Set Dim tblstockitem = New LightSwitchApplication.tblStockItem With _ {.BatchNo = Grndetails.BatchNo, _ .DateIn = Now.Date, _ .GrnNo =...
View ArticleDatabase design for storing and quering historical data
Hi, More of a loose (very) idea and hobby project. Want to design a database storing members, their vehicles, etc. which are pretty simple. But (never did this before) want some kind of auditing in...
View ArticleHow to rename a access table in visual basic
hello ok i need to auto rename a table and for each new time to create date in table name and after that to use query into i am asking if that is possible my 1 table name is kalktbl and second table...
View Article