Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Moving data from VFP to MySQL

Status
Not open for further replies.

StewartUK

Programmer
Feb 19, 2001
860
GB
I am planning a move my data from VFP to MySQL.

I have a VFP table of flags (which can be applied to contacts' records to show what they are interested in and so on) in which I have a field called AfterApply.

This field's default value is a parameter statement. In several records I have written in code to do other things when that flag is applied. Every time any flag is applied, the following line executes : EXECSCRIPT(AfterApply, Ik, ThisMany, Began, tdEnds)

Can you give me some advice on the best way to implement this in the MySQL world?

Thanks,

Stewart
 
Does MySQL has triggers?

Borislav Borissov
VFP9 SP2, SQL Server 2000/2005.
 
Borislav,

Yes, it does.

I've tried to think of how I'd use them in this instance. Where I might want to insert an additional record would be straightforward, but how would I, for instance, get an email sent? Maybe return "something" to the UI?

Thanks,

Stewart
 
I had set up a fax interface utility from VFP to a mysql table using a connection string via the mysql ODBC driver. I just used a remote view in the VFP application and grabbed the parameters from the mysql table when it was triggered by the server. You could always use it as a utility on a timer also. Not sure if this will help with what you are doing.

If you can't stand behind your troops, stand in front of them.
Semper Fidelis

Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top