Recent

Author Topic: Mysql Component  (Read 7110 times)

thaimann

  • Jr. Member
  • **
  • Posts: 84
Mysql Component
« on: May 11, 2005, 04:44:28 am »
I haven't been able to find any documentation on using this library($LazDir/components/mysql.)  All I really need at this point is the parmlist (for ExecSQL) and any requirements for its use(variable declarationand setup.)  An example would be real nice to.

Terry

matthijs

  • Hero Member
  • *****
  • Posts: 537
Mysql Component
« Reply #1 on: May 11, 2005, 08:10:20 am »
ExecSQL does not have a parmlist. Just make sure your Query-component is connected to a connection and has a SQL-property which contains an executable SQL command. The example I gave in the mailinglist by using slqdb-components should work equally well with MySQL component.
What's in a sig? Would my posting look less if it didnot have a sig? (Free after William S.) :)

:( Why cannot I upload my own Avatar? :(

thaimann

  • Jr. Member
  • **
  • Posts: 84
Mysql Component
« Reply #2 on: May 12, 2005, 01:50:57 am »
I don't think I have a query component.  What do I have to install inorder to create one?

Terry

matthijs

  • Hero Member
  • *****
  • Posts: 537
Mysql Component
« Reply #3 on: May 12, 2005, 08:19:32 am »
Have a look at the sample projects on the wiki and read the database and the Install Packages tutorial.

[edit]Or rather the other way around, first read the tutorials then look at the samples. :)
What's in a sig? Would my posting look less if it didnot have a sig? (Free after William S.) :)

:( Why cannot I upload my own Avatar? :(

thaimann

  • Jr. Member
  • **
  • Posts: 84
Mysql Component
« Reply #4 on: May 12, 2005, 06:40:29 pm »
OK, I  have installed the sqldb package.  Now I have placed a TSQLQuery component on my form.  But when I try to point it to my database component, I get the following error message:

Invalid Type Cast

Terry

thaimann

  • Jr. Member
  • **
  • Posts: 84
Mysql Component
« Reply #5 on: May 12, 2005, 10:08:50 pm »
Never mind I think I have it figured out.

 

TinyPortal © 2005-2018