Re: Opinions on approach, please...





"Frederico Fonseca" <real-email-in-msg-spam@xxxxxxxxx> wrote in message
news:5nfo34p4cmahkl0fm2sbo4nspjhnen11t2@xxxxxxxxxx
On Tue, 27 May 2008 23:29:35 +1200, "Pete Dashwood"
<dashwood@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:


snip

Aren't most GUI controls 'bound' to a data source? In other words, load
their own data.

No. These days, in languages other than COBOL, they certainly are, but in
PowerCOBOL I don't think there was a facility to bind to a datasource. (I
could be wrong...) All of the PowerCOBOL I've seen doesn't use bound
datasources. Anyway, it doesn't matter; I have inspected the code and they
don't use bound datasources...

Pete,

Just for the record, POWERCOBOL does allow bound controls, in at least
version 8. Not sure now about version 7 and earlier, and cant easily
check it as I don't have the installer at hand.

But my personal advise on this is NEVER to use them in ANY language
whatsoever. And this is based in personal experience of the headaches
one has when using them.

That may be good advice :-)

I have used bound controls occasionally in C# with SQL Server, and it has
worked perfectly. But I have only done very simple things with them.

Thanks for the clarification on PowerCOBOL.

Pete.
--
"I used to write COBOL...now I can do anything."


.



Relevant Pages

  • Re: Opinions on approach, please...
    ... Aren't most GUI controls 'bound' to a data source? ... These days, in languages other than COBOL, they certainly are, but in ... PowerCOBOL I don't think there was a facility to bind to a datasource. ...
    (comp.lang.cobol)
  • Re: Lookup record in subform based on combo im main form
    ... The Main Form's data source is Events with EventID being the primary key. ... The Subform's Datasource if the Facilities Table. ... properties of the subform. ... Also note that forms/reports contain Controls while ...
    (microsoft.public.access.formscoding)
  • Re: databinding problem
    ... I've never used the Binding Manager; I always use a BindingSource because ... Robin S. ... controls on the screen that are bound to that data source. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: databinding problem
    ... Column_Changing should change different column depending on ... Anyway, if I understand what you're doing, you're changing the data source ... and the change is not reflected in the data displayed in the controls on ... Have you checked out the BindingSource? ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Problem with .properties("...")
    ... VB and VBA are not the same especially when it comes to forms and controls. ... I think that you are saying that there are Access Form and Control ... Properties that do NOT carry over to VB, and then there are DAO ... between languages on-the-fly. ...
    (microsoft.public.vb.enterprise)