Subject Re: Enter Key works One Time - Sample
From Tom G <nospam@charter.net>
Date Tue, 28 Oct 2014 20:15:48 -0400
Newsgroups dbase.getting-started
Attachment(s) Member.zip

Wian,
It is not practical to use another page on the same form when my app is on local PC and data is in the Cloud.

Attached is a stripped down version of two of my forms. They use only one table with only FirstName and Lastname fields.

Frankly, I was surprised when I stripped out 90% of the code from these 2 forms that the Save button still does not work.  IE Setfocus to Save button and press enter will only work one time..

Perhaps someone will see something I don't see.
Thanks for looking,
Tom

WJS Wrote:

> On 2014-10-28 06:48 PM, Tom G wrote:
> > Wian,
> > I am using ADO and SQL Server 2012. Not sure there are many SQL server users on newsgroup. I have two pair of Parent / Child forms in my app. They both have the same problem. Currently my solution to the problem is to re-create the child form every time it is called. The save button enter key works, if I recreate sub form each time it is called. I will see if I can create a simple dbf table turnkey. But I would expect it will work using dbf tables.....
> > Thanks, Tom
> >
>
> I was more interested in the class declaration of both form and subform
> at this stage.
> Another thought.
> Why not just put all the coding of the subform on another pageNo of the
> form itself and disregard the subform ?
>
> Wian
>