Re: treeview in a dbc R.I.
From: Michel Levy (stop.michelvfplevy_at_nospam.yahoo.fr)
Date: 03/12/04
- Previous message: Rick Bean: "Re: Stored Proceedure"
- In reply to: Igor Korolyov: "Re: treeview in a dbc R.I."
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 12 Mar 2004 16:18:45 +0100
Thanks Igor,
I use treeview control for a lot of its non visible object properties and
methods, in the UI of old applications.
I'm building a new app (integral tracing, tracking and traceability), and
try to put in RI all that rules which where remaining in UI, and have
nothing to do at this place (only data integrity rules, typically to put in
dbc SP).
In the old apps, I was managing these rules using treeview control (object
properties), because it was faster, and really object oriented. It seems
it's better not to try it in SP, so i'll write it again with an old do while
.t. / enddo, and select * from myalias where .f. into mycursor, and so on...
Pfffff !!!! (in fact, I begin to do it for 1 week...)
But y're right : I fisrt tried with the treeview in SP, and it was very
difficult to catch and handle all errors. And if define class is unsupported
in ODBC, I must stop it now. In the new UI, ok, not in dbc.
Thanks
Michel
"Igor Korolyov" <k1i2v3@km.ru> a ecrit dans le message de
news:%23a8R7tBCEHA.628@TK2MSFTNGP10.phx.gbl...
> Hi, Michel!
> You wrote on Mon, 1 Mar 2004 17:14:05 +0100:
>
> ML> Do you think I can use < define class monform as custom >, or anything
> ML> like that?
>
> No it won't work if you'll access your data outside of VFP - DEFINE CLASS
is
> one of the unsupported commands for ODBC driver, and at all - using of any
> User Interface in SPs is wrong way. Why don't you use just a _simple_
_form_
> for data entry (with treeview and other controls)? Why do you want to have
> it inside SP? The whole idea of SPs (and RI triggers as it's subtype) is
> invisible data validation/processing and raising errors in critical
cases -
> and UI have to handle this errors and _may_ show some forms to resolve
them
> and so on.
>
> --
> WBR, Igor
>
- Previous message: Rick Bean: "Re: Stored Proceedure"
- In reply to: Igor Korolyov: "Re: treeview in a dbc R.I."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|