× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




Thanks for the clarification.

I will be keen to have a look at your new version. (And I know that phrase
of "when I have time" I am so time poor these days!)

Cheers



Don Brown






From: "Jon Paris" <jon.paris@xxxxxxxxxxxxxx>
To: "Midrange-L Midrange-l" <midrange-l@xxxxxxxxxxxx>
Date: 09/11/2018 09:33 AM
Subject: Re: CRUD app interface
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



It is completely controlled by the database Don - and it does not have a
unique constraint on it.

It just happened to be a silly test file I had laying around that I used as
a base to knock up an app in about 5 minutes. It was never intended to be
production code.

When I have time I'll do another version after I've added constraints. I
amy also use another file that demonstrates Master/Detail processing which
is equally easy.

But to comment on another aspect of your post - yes validation can be
easily added to individual fields or to the row as a whole. Right now I
have it using row update, but if I change:

$dg->enable_edit('INLINE'); to $dg->enable_edit('FORM');

then I would have been shown a form for the updates and can attach logic to
the Submit button.

I really wish there was a free/cheap RPG equivalent to this kind of
tooling ...


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Nov 8, 2018, at 4:59 PM, Don Brown <DBrown@xxxxxxxxxx> wrote:


I will have to read the link as I just added two duplicate records to
your
table.

I presume there is some way to put validation around the entries ?

Cheers


Don Brown









From: "Jon Paris" <jon.paris@xxxxxxxxxxxxxx>
To: "Midrange-L Midrange-l" <midrange-l@xxxxxxxxxxxx>
Date: 09/11/2018 05:27 AM
Subject: Re: CRUD app interface
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



Nope - all that functionality is all built-in to the basic package.

The line $dg->enable_edit('INLINE'); is what enables it. There are
optional parameters that I did not use that allow me to restrict it to
add
only or edit only etc.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Nov 7, 2018, at 6:44 PM, Don Brown <DBrown@xxxxxxxxxx> wrote:

Jon this looks pretty!

So there must be other code that handles the update/delete functions ?



Don Brown




______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud
service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.