Mike:

Seems like the simple answer is EDIT USING since apparently you are not changing or adding information to the driving table (a dummy table), although, you did not describe the nature of the rest of the form that works. If there is a second table associated with the form that is being used, I think I would make it the driving table, since variable edits can be used anywhere if they are pre-defined by some means (using the form variable list or defined in code or an EEP). As for why it does not work in 9.5 using ENTER USING, I suspect the Dream Team has been tightening the code, since ENTER USING would be inappropriate in this example (no proper driving table with matching columns to add information to). You could test this theory by adding a DBEDIT to the form associated with a column in the dummy table and see what happens.

The one interesting comment from Larry in this thread is at what point is there a problem with "overhead" when forms or reports contain numerous look-up variables or stored procedures? And how often is the variable list executed in forms/reports and when? Razzak?

S Johnson

At 10:04 AM 3/11/2012, you wrote:
Hello everybody,
I have been reading the what is new in 9.5 document and all I can say is "amazing...." Way to go dream team!

I have a form based on a dummy table.The table has 1 row, 1 column and only 1 row of data.
At the top of the form I have a few Variable Edits.
In version 9.1 the form works just fine with both EDIT USING formname and ENTER USING formname.
In verosin 9.5, the form works just fine with EDIT USING formname.
BUT....the variable edit controls are blank when I use ENTER USING formname.
Since I am not relying on any changes to the dummy table in my application, does it matter which I use, ie EDIT USING vs ENTER USING? Is there any preference? Also, I don't understand why both EDIT USING and ENTER USING work just fine in version 9.1, but only EDIT USING is working for me in version 9.5. The rest of the form works fine both ways, only the Variable Edits are not working in 9.5.
What am I doing wrong?
Mike Sinclair


Reply via email to