Add New Table to Existing Form (Access 2003)
Have two related tables whose fields are linked to controls on a form (made originally with the Form Wizard). Now I have created another table related to one of those other tables. What is the best way...
View Articlevb6 -copy database record from Datagrid to another
Please help. I have two datagrid which is connected to separate database. How will I copy a particular record in datagrid to my other datagrid? First database connected to datagrid1 Code: Option...
View ArticleCrystal report doesn't show field's data with type of big integer nad shows 0
Edit by Moderator: Split from this thread I am also facing this problem. My datatype in sql query is bigint but when the value is greater that 8 digit it showing 0 .. what should i do ..please help..
View ArticleRetrieving Excel Data
Hi All, Please can someone help me with a query? The scenario is as follows: I have 11 spreadsheets that are produced from a third party application. 4 of these spreadsheets are the important ones as...
View ArticleAlter schema
Hello All A quick question. Is it possible to change the default schema on an SQL server for a user from a vb6 app. I have the following Code: ALTER USER 'USERNAME' WITH DEFAULT_SCHEMA=...
View ArticleError: Data type mismatch in criteria expression
Hi all, I'm using Excel VBA and ADO connection to a .cvs file. i have another code that works if the supplied text in the textbox is a number, but for this code, this code is for textbox input is a...
View ArticleVB6: MySqL: MSChart
Can anyone give me advice on how i am going to populate a chart data from mysql database ? Thanks i have no idea with this
View ArticleHow to set the criteria for archiving data using form-based parameters?
Hi, I'm trying to create an archiving system, where i use a simple Append Query followed by a Delete Query. A typical criteria for the Append Query is less than Date()-30...so any records older than 30...
View ArticleInvalid Column name with Insert query
Hello I'm testing a small program to write some data to a SQL Server 2008 database. This is the code: Code: Dim MyConn As ADODB.Connection Dim MyRecSet As ADODB.Recordset Dim st1 As Integer...
View Articledreaded too few parameters expected 1
Hi, I am trying to run an action query on an existing DB. The connection and everything works (I did a trial to count the records in the RS) but I keep getting the "runtime error 3061" on execution of...
View ArticleCorel Ventura file as database
Dear Firends, I want to know that i have corel ventura file there is some records i want to use it as a vb6 database file is it possible or tell me any other solution
View ArticleVB6: MySqL: MSChart
Hi guys! I have three problems with my mschart control in vb6. By the way in my form named frmStatistics i have 1 commnd button and a mschart coontrol named Chart. Everytime that i click the button, it...
View ArticleMultiple MDI Parent Form
Hi guys! Can anyone here help me to add two or more MDI Parent Form in my VisualBasic6.0 Application? Is it possible? VB6.0 restrict the use of MDI Parent Form for only 1 , how am i able to have...
View ArticleToolbar Submenus
Gud day guys..does anyone know how to show Forms when there are already a submenus in the toolbar. I have this code and it works well in the first button with submenus in my toolbar but my problem is I...
View ArticleBulk Export from Access To Sql Server 2008
Hi, I'm working on Online Up-loader using Visual Basic 6. We have a data in Access Database and have to write a code using vb which will copy the modified data onto online sql server which only...
View ArticleDisplay the Result of SUM(Columns) to a Label
Hi all, I need help... I wanna display the result of SUM() to a Label. But my code doesn't work. Can u tell me why? This is my code: Code: Dim SQL As String SQL = "Select SUM(TotalSalary) As...
View ArticleExteneded ASCII 128-255 ADO Connection string
Hi! If someone could assist me. We have a file with character sin the range of ASCII 127-255. I managed to read the characters by setting the encoding in the streamreader to default. Code: Dim...
View ArticleExteneded ASCII 128-255 ADO Connection string
Hi! If someone could assist me. We have a file with character sin the range of ASCII 127-255. I managed to read the characters by setting the encoding in the streamreader to default. Code: Dim...
View ArticleVB and MySQL
Not sure where to post this. Can a application on a local PC connect to a MySQL database on the web?
View Articlecapturing new identity value in adodb recordset
When using an ADODB recordset with an SQL back end in VB6, I always use the same means to capture the identity value of a newly added record: call .AddNew to create a new record, set all the...
View Article