Bob,

 

The frustrating thing is that I made no change to the EEP or to the
field containing the EEP.  All I did was change one field in the Header
table from a combo box to a regular DBedit with a popup.  I did not
touch the detail table at all.  This has happened before to me.  Thanks
for the info.  I will try to carefully trace what is happening.

 

Jim 

 

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of
[email protected]
Sent: Tuesday, June 23, 2009 7:52 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: form mistake

 

Jim,

 I do not believe that EEP's have to be the last item added to a form.
I add/remove/modify forms and eeps on a continual basis and have not ran
across that issue.

 

Somethings you might want to look at:

 

1)

EEPs fire by either an object taking focus or losing focus. (Thus the
Entry Exit Procedure name).  If your EEP is part of a field object, then
you must insure that the field actually has focus and then leaves for it
to "fire".  You can confirm this by using TRACE, which will step each
line of code.  When you leave the Quantity field, you should see the EEP
code step through one line at a time,  notifying of any errors etc. as
well.

I often make a small file such as 

 

R>Rbedit Temp.cmd

 

--predefine any variables

Set var vOrder integer = 0

etc.

 

Edit using FormName

 

Return

 

Then at the R>

 

TRACE  Temp.cmd

 

2)

Make sure you have a Property ....REFRESH command in your EEP to insure
that the form or variables

are being updated.  RECALC VARIABLES can also be used.

 

 

I have found the most common issue I have with an EEP "not working" is
either an error in the EEP itself,

I am not refreshing the screen data or the EEP is not firing because I
am not gaining or leaving focus.

I do not believe your issue is that you did not create the eep field
last.

 

Good luck.

 

-Bob


----- Original Message -----
From: "MDRD" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Tuesday, June 23, 2009 7:05:22 AM GMT -06:00 US/Canada Central
Subject: [RBASE-L] - Re: form mistake

Jim

 

Could you move that EEP to Table, Table Settings, After Saving Row?

 

Marc

 

 

From: Jim Belisle <mailto:[email protected]>  

Sent: Tuesday, June 23, 2009 6:41 AM

To: RBASE-L Mailing List <mailto:[email protected]>  

Subject: [RBASE-L] - form mistake

 

I have a form based on two temporary tables.  I have a header table and
a detail table.  The detail table has an ON EXIT EEP in the quantity
field that gives me my totals for weights, prices, etc.. 

 

I got it working perfectly last night but made the mistake of not
backing it up. I know; dumb mistake.  I made a simple change to the
header table, adding a field, this morning and now my EEPS in the detail
section do not work at all.  Anyone have an idea what process I have to
go through to get them working again?

 

I found out early that the EEP fields need to be the last items added to
a form to get them to work properly.  I deleted the EEP field and then
added it but to no avail.

 

Jim

 

 

Reply via email to