Solved

Parameterised query in vfp9

Posted on 2010-08-27
2
529 Views
Last Modified: 2012-05-10
HI:
A vfp9 form has 2 buttons. Both identical except that one pulls data with a default date of today, the other  allows the user to enter a date using a parameterised query from a remote view. The data source is the same.
Both work fine in vfp. No problem at all
Then I build the executable. The executable launches automatically. Both buttons work.
Then I run the executable from explorer or a shortcut on the desktop. The parameterised query returns no data!The default button does.
So yes, if I build an executable and it runs directly after build it works. If I then close vfp and run the executable it does not!
Does anybody know of this? Thanks!
0
Comment
Question by:ClaytonGlass
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 42

Accepted Solution

by:
pcelba earned 250 total points
ID: 33539747
So it simply means your executable does not contain everything it needs for successful run.

You should check the configuration (CONFIG.FPW and other settings). Are you sure the SET DATE is correct in EXE? Did you try to enter both AMERICAN and BRITISH date format on input?
0
 

Author Closing Comment

by:ClaytonGlass
ID: 33539829
Thank you so much!
And you have told me about British dates before!
That does it. I'm emigrating.It is less stressful!
0

Featured Post

CHALLENGE LAB: Troubleshooting Connectivity Issues

Goal: Fix the connectivity issue in the lab's AWS environment so that you can SSH into the provided EC2 instance.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Visual FoxPro (short VFP) is a programming language with it’s own IDE and database, ranking somewhat between Access and VB.NET + SQL Server (Express). Product Description: http://msdn.microsoft.com/en-us/vfoxpro/default.aspx (http://msd…
This article is written by John Gates, CISSP. Gates, the SNUG President-Elect, currently holds the position of Manager of Information Systems at Lake Park High School in Roselle, Illinois.
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question