PDA

View Full Version : DDs in webojects



LasseJ
24-Nov-2005, 04:01 PM
Hi,

I would like to know the difference between sending

Get ddClear "Myfile" to bOk
and
Send Clear of Myfile_DD
in a cWebBusinessProcess object (and all the other dd<Message> and
SetDDValue).

- Should I use these messages?
- Why should I use these and not the DD methods as in a Windows application?

Regards
Lars J

Knut Sparhell
24-Nov-2005, 08:06 PM
Lars Jarnhäll skrev:

> I would like to know the difference between sending
>
> Get ddClear "Myfile" to bOk
> and
> Send Clear of Myfile_DD
> in a cWebBusinessProcess object (and all the other dd<Message> and
> SetDDValue).
>
> - Should I use these messages?
> - Why should I use these and not the DD methods as in a Windows application?

I think you should use the usual DD methods unless the table name is a
string variable, unknown to you at design time.

--
Knut Sparhell, Norway

Evertjan Dondergoor
28-Nov-2005, 03:46 AM
Lars,

These DD-messages are basically designed to be called (indirectly) from asp. There you dont have the MyFile_DD available, so you
pass the tablename as argument. In a WO though, I prefer to use the [Send Clear of Myfile_DD] though.

Evertjan

"Lars Jarnhäll" <lassej@oasystem.se> wrote in message news:pUwZMpT8FHA.2168@dacmail.dataaccess.com...
> Hi,
>
> I would like to know the difference between sending
>
> Get ddClear "Myfile" to bOk
> and
> Send Clear of Myfile_DD
> in a cWebBusinessProcess object (and all the other dd<Message> and
> SetDDValue).
>
> - Should I use these messages?
> - Why should I use these and not the DD methods as in a Windows application?
>
> Regards
> Lars J
>
>

LasseJ
29-Nov-2005, 04:23 PM
Thanks guys, now I'm a little less confused. :-)

/Lars J
"Evertjan Dondergoor" <evertjan.dondergoor@dataaccess.nl> wrote in message
news:f0Ywxg$8FHA.3872@dacmail.dataaccess.com...
> Lars,
>
> These DD-messages are basically designed to be called (indirectly) from
asp. There you dont have the MyFile_DD available, so you
> pass the tablename as argument. In a WO though, I prefer to use the [Send
Clear of Myfile_DD] though.
>
> Evertjan
>
> "Lars Jarnhäll" <lassej@oasystem.se> wrote in message
news:pUwZMpT8FHA.2168@dacmail.dataaccess.com...
> > Hi,
> >
> > I would like to know the difference between sending
> >
> > Get ddClear "Myfile" to bOk
> > and
> > Send Clear of Myfile_DD
> > in a cWebBusinessProcess object (and all the other dd<Message> and
> > SetDDValue).
> >
> > - Should I use these messages?
> > - Why should I use these and not the DD methods as in a Windows
application?
> >
> > Regards
> > Lars J
> >
> >
>
>