User Profile
Collapse
-
Thanks Killer42 for your time in taking a look at my problem. My ultimate objective in my code is to determine if a certain table already exists in MySQL database. I am new to MySQL and just don't know what is wrong with my code. I hope that you can help me. -
"SHOW TABLES FROM mydata" has no error. In fact, I have tested it using "Msgbox .Recordcount" and it accurately counted the number of tables in "mydata" database.Leave a comment:
-
I am sorry I failed to mention that DbNameMySQL and sTemp were declared as public variable strings in the module. MySQL does not forbid creating a table name with the same name as the database. In my code, I was testing if it can detect the presence of "mydata" table. The error returned is "Item can not be found in the collection corresponding to the requested name or ordinal" and it points to the " .Fields("TABLE" ).Value"...Leave a comment:
-
VB code to determine table in MySQL
Last month I posted a question on what is the VB code to know if a table is existing in MySQL, but I have not receive any reply. I hope that the following code will help the reader determine what is the problem after the "Do While Not .EOF" code.
...Code:Private Sub CheckTable() Dim gcnDb As ADODB.Connection Dim grsRs As ADODB.Recordset Set gcnDb = New ADODB.Connection Set grsRs = New ADODB.Recordset
-
-
Modify max allowed packet
I am already using MySql 5 and is currently working on a code to save pictures to a table. How can I modify the max_allowed_pac ket system variable? -
-
VB code on MySQL database and table
I have just transfered my access data to MySQL on a Windows XP platform, but I was stuck with these problems. What is the VB code to determine if a database is existing in MySQL and what is the code to know if a table is existing in MySQL database? Please help me, this is urgent. Thanks in advance. -
VB code on MySQL database and table
I have just transfered my access data to MySQL on a Windows XP platform, but I was stuck with these problems. What is the VB code to determine if a database is existing in MySQL and what is the code to know if a table is existing in MySQL database? Please help me, this is urgent. Thanks in advance. -
VB6 code to know database and table in MySQL
What is the VB6 code to determine if a database is already existing in MySQL and also the code to determine if a table is already existing in a MySQL database? I am already using MySQL on a Windows XP platform but was stuck with this problem. -
VB6 Package & Deployement Wizard
How do we include in the installation, folder/folders in VB6 Package & Deployment Wizard? -
Hi Killer42,
Thanks for your reply to post. I forgot to mention that I will be apply this to an MDI form, and your suggestion applies only to an SDI form. Thanks anyway.Leave a comment:
-
Menu name control properties
I am new to vb6 programming. I would like to know the code on how to change the menu name control properties at run time. For example I want to disable visibility of File/open when a certain condition exists. -
Convert excel file to access database
Hi, i am a new vb6 programmer. I would like to know the vb6 code to read excel file and save it to access database. I am using ADO.
No activity results to display
Show More
Leave a comment: