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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FoxPro IDE vs. EXE weird behavior

Status
Not open for further replies.
Sep 17, 2001
673
US
I have an old clunky duck taped desktop FoxPro app. When using the compiled EXE, I can search for a customer in one screen it works, then another screen an order # it works. When I do the same thing with the IDE I can find the customer but the order number is not found. Here is the strange part. I enter into the the textbox the order number. The fields below do not populate and the other forms below are unaware of the order number. Yet if I use the standard arrows to move the data it move the data row and I can see the order data on the existing form. Yet going back the other forms are still not aware of the order number. Seems like some sort of variable issue between exe and ide. I am hoping someone can recall such an issue and help me with a list of things to look for. I don't want to rewrite this ... 'thing'.

Regards,

Rob
 
Any settings:
Deleted? on/off
Exact? on/off




Ez Logic
Michigan
 
Thanks, I will look at those settings. It seems to be a variable issues between IDE and EXE that is not passed back to parent forms. If I type the order number in the text box on a child form, I don't get the info populated on the form boxes but if I click on the right and left arrows on the data selector, the underlying data is there and starts populating the current forms text values. If I close the child then go to parent forms, it does not remember the order number. When using the exe the parents DO remember the order number.

Regards,

Rob
 
Rob,

Can you write a simple bit of code that re-creates the problem: something that you can post here and that we can run?

When I say "simple", I mean the minimum code that reproduces the problem, without anything unnecessary that might distract or interfere with it.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
I would suspect that one or other approach is not using the right database.

I'm assuming that you are using native .dbf files and have them loaded in the
data environment for your forms.

Are you trying this on the same PC?

Regards

Griff
Keep [Smile]ing

There are 10 kinds of people in the world, those who understand binary and those who don't.

I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are not good for you.
 
... or you have an old EXE and the project/code has been modified meanwhile without having been re-compiled. Backup your old EXE, re-compile the project and check.
hth
MK

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top