MyDatAdp.fill(MyDataTbl) invalid object name
I need help in this code I just learning VB 2012 and I have copied a code from internet and I have modified it. I have created the sqlserver database and its table from VB 2012, everything is good...
View ArticleZip code radius search - need help with query
I am trying to find all zip codes within a certain radius of a given zip code. I have an SQL Server table with all US zip codes & their corresponding latitude/longitude coordinates. I am trying to...
View Articleremove all security
I'm working with a 2003 database and have admin rights. How do I completely remove all security? I want to import/export with the database but it want let me. Thansks
View ArticleRead simple xml
Hello. I'm struggling with this: Code: <CompleteOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <UserName>VUser</UserName>...
View ArticleHow to query for a list of row counts
I am a novice at SQL queries and I would like to know if what I describe can be done simply. Here's a hypothetical. Consider I have a table of SalesReps and in it is a column of ID which is unique. I...
View ArticleUsing Row_Number to filter and then pivot the data`
Running SQL Server 2014 I've got a query that's giving me some fits. I pull some data out of a couple tables that give me the current status of a process. For each step in the process, a row is...
View ArticleDatabase Connections
Hi, I'm very very new to this. I'm trying to write a basic software to distribute to small preschool charities to help with their invoicing. It has quite specific requirements, so most are manually...
View ArticleButton to Save to a specific table
Hi All I've been looking for any sort of example to help me. I've used VB when I was at University but that was a long time ago! I'm trying to create a simple programme to allow a user to click a...
View Articledatabase connection
Good day. For example I have mysql master-master replication and the main server died. How can I make my application automatically use the backup server when on my connection I specified my connection...
View Article[RESOLVED] Database Connections
Hi, I'm very very new to this. I'm trying to write a basic software to distribute to small preschool charities to help with their invoicing. It has quite specific requirements, so most are manually...
View ArticleOpenRecordSet - Behind the Scene
I'm curious how the OpenRecordSet Method enum options are actually handled. For example OpenRecordSet( , dbOpenForwardOnly, dbReadOnly) would seem to indicate that the table is evaluated from the first...
View ArticleExtract File from FileTable
Hello, I know how to copy a file from my FileSystem to a FileTable in SQL using TSQL. Code: INSERT INTO Designs ([name],[file_stream]) SELECT 'Ime.xlsx' ,* FROM OPENROWSET(BULK...
View Articlei jux started coding and realised how fun it is but..................
i ve managed to develop a simple database programme with visual basic 10 and microsoft access but i dont know how to publish i have watched a alot of tutorial but it not helping................pls can...
View ArticleMigrating Access to MySQL
i have an access database with table relationships, queries and i want to convert into mysql is there any free software that can help me to do it, i searched for MySQL workbench but its not opening in...
View Article[RESOLVED] Read simple xml
Hello. I'm struggling with this: Code: <CompleteOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <UserName>VUser</UserName>...
View Article[RESOLVED] OpenRecordSet - Behind the Scene
I'm curious how the OpenRecordSet Method enum options are actually handled. For example OpenRecordSet( , dbOpenForwardOnly, dbReadOnly) would seem to indicate that the table is evaluated from the first...
View ArticleSQL INSERT INTO command not actually Inserting
I know I'm missing something important but I can't think why it isn't working. I know my code is extremely basic but I'm still new to all this and it's good enough for my college pro Quote: Public...
View ArticleDUBT! adCmdText+adExecuteNoRecords
... but for a good performance in ADO i use: conn.exeute sql,,adCmdText+adExecuteNoRecords but if i use the param with numeric value, similar: conn.exeute sql,,129 Have the same performance, or not? In...
View ArticleSQL behaves strange
Hi there, I develop a database application where I communicate using VB 2010 epxress to MS Access 10 DB. I can connect, download and display content of tables. When I use the reader and sql statements...
View ArticleMS Access no error messages
Hi all. I posted this quite a while back but never got the answer, and it continues to be a problem. I have Office 2007 on one computer, and I've built a few databases with forms. The problem is that,...
View Article