MySQL database connection

Make comments, ask questions, or just complain about the software on this site. Or comment on any educational software.
Please note that by clicking on links that may appear in these posts that you may be leaving the Dale Harris Educational Software website and that the content of those sites is the sole resposibility of the authors of those sites.

Moderators:daleadmin, Dale Harris, Alan, Andrew

Post Reply
lsunw
Forum Regular
Posts:76
Joined:Thu Mar 24, 2005 1:16 am
MySQL database connection

Post by lsunw » Sat Jun 02, 2007 11:15 pm

Hi,

Anyone here know how to make a MySQL databse with DHPOS stock table?
Is it possible to make a third party program like APRINT to connect to MYSQL? by using MYSQL ODBC?

http://www.mysql.com/products/connector/odbc/

For example, everytime ring up sale with DHPOS, it will deduct the quantity item in the mySQL...the idea is to make the mysql as the main control inventory.

if this can accomplished then will safe allot of work to sync the stocktable in DHPOS and web application using mysql database such as ecommerce or web ERP.

marine64
Forum Regular
Posts:36
Joined:Tue Oct 25, 2005 5:07 pm
Location:Mountain home AFB, ID
Contact:

mysql

Post by marine64 » Fri Jul 06, 2007 12:57 am

In short No it is not possable. at least not at this time as there is no qbasic connector for mysql. however maybe oneday. sorry
http://www.xenocomp.com for all your tech needs.

User avatar
ZeeMan
Forum Regular
Posts:37
Joined:Sun Dec 12, 2004 9:26 pm

Post by ZeeMan » Wed Jul 18, 2007 10:26 pm

Well, you don't neccessarially need to use QBasic. Theoretically you could look at the QBasic examples for accessing the stock table and figure out the equivelent commands for another launguage with access to MySQL, and then run the program in paralell with DHPOS.

Also, I think that it is possible to use DLLs with QBasic (I'm not sure though) so you might be able to use the QBasic examples and have them use functions from the DLLs to send their output to MySQL. I'm not sure about this though, so you'd have to test it out (don't forget to back up your files!)

lsunw
Forum Regular
Posts:76
Joined:Thu Mar 24, 2005 1:16 am

Post by lsunw » Mon Jul 23, 2007 2:59 am

I also think so...but i'm not a programmer.

That why i post to see got anyone can help to write one that similar to APRINT...anyone here have done any similar program!?

User avatar
Jonathan Simpson
Site Administrator
Posts:71
Joined:Sun Dec 28, 2003 9:52 am
Contact:

Yes.

Post by Jonathan Simpson » Sat Aug 18, 2007 7:36 pm

It's possible to IMPORT the stock table into mysql using any of a variety of methods.

It's probably possible to export from mysql into POS, as well.

What is not possible is having POS use mysql as a stock table while running
Jonathan Simpson
Check out the Dale Harris chat room @ http://www.home-nets.biz/chat

lsunw
Forum Regular
Posts:76
Joined:Thu Mar 24, 2005 1:16 am

Post by lsunw » Mon Aug 20, 2007 1:55 am

Not sharing same stock table...What I mean is when rung each sales, there a 3rd party program (like, APRINT) which will deduct the same stock no. which located in the mySQL database.

In this case, I only need to track only 1 stock table which is mySQL.

User avatar
bob5731
Forum Regular
Posts:83
Joined:Sun May 30, 2004 1:34 am
Contact:

Post by bob5731 » Thu Aug 30, 2007 9:48 pm

That would help in my pos for windows
P.S. God Loves You And Have A Good Day!!!
http://god5731.myftp.org/

Post Reply

Who is online

Users browsing this forum: No registered users and 182 guests