Ask a Question related to Coldfusion Database Access, Design and Development.
-
Natesac #1
Rushmore/Optimization between FoxPro and CF
Ok... so my company has an 'ITEMS.DBF' table that stores every single line item
we sell. If a line item is returned before we invoice/ship it, the record is
deleted. Now, for those of you who know FoxPro, the record is still visible.
When you use SQL statements in CF, Rushmore (which is the optimization process
that discards things such as 'deleted' records) /OPTIMIZE is defaulted to 'ON'.
The question is this:
SET OPTIMIZE ON|OFF
If this is the FoxPro statement that I need to make in accessing the
information through <cfquery>, how do I send that command from a .cfm?
Any help is greatly appreciated.
-Nathan
Natesac Guest
-
Foxpro access in Coldfusion 7
With Coldfusion 5-6.1 we were accessing are old Foxpro 2.6 databases through ODBC using the Visual Foxpro Drivers. There wasn't any major problems.... -
cf and foxpro stored procedures
I have successfully connected to my colleagues foxpro database via odbc and can query, add and update info. I was hoping he could write into his... -
Connecting to Visual Foxpro via ASP
Hello, I need to do some reporting via ASP pages, based on the data stored in our SBT Pro accounting system. SBT is based on Visual Foxpro... -
searching lex & yacc for foxPro
please ,can someone help me : i want a lex & yacc for generating parser for the programming language foxPro. thanks for all -- Posted via... -
Trusted connection from FoxPro 5.0
I am trying to create a trusted connection from a FoxPro 5.0 program to a SQL Server 6.5 via a VPN. I need to run an automated process, and of... -
philh #2
Re: Rushmore/Optimization between FoxPro and CF
One thing you can do is create a .prg with that statement, and a parameter to
switch on/off. Compile the program and put the fxp file in the SYSTEM32
directory. The Fox driver will treat it as a function, so you could call it
like this:
<CFQUERY datasource="#FOXDSN#" name="setoptimize">
SELECT MyOptimizerProgram('ON') as result from SomeFoxTable
</CFQUERY>
philh Guest
-
Natesac #3
Re: Rushmore/Optimization between FoxPro and CF
Awesome.
Good thinkin'. :)
Cheers!
Nathan
Natesac Guest
-
philh #4
Re: Rushmore/Optimization between FoxPro and CF
Let me know if it works for you. We have a couple of these that work and are, shall I say, rather complex.
philh Guest



Reply With Quote

