Re: Concatenating Multiple Values for DataValueField

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Marina (someone_at_nospam.com)
Date: 12/03/04


Date: Fri, 3 Dec 2004 12:15:17 -0500

What would an update mean? Which field would you be updating in any type of
scenario? No matter you accomplish this, obviously you would always have to
manually build the sql yourself, or have each column selected separately as
well, and update it appropriately.

"ae" <ae@discussions.microsoft.com> wrote in message
news:609330D5-504F-46DD-AB7D-74D8A02D12E0@microsoft.com...
> Works good, but to do updates what's your recommendation? Thanks.
>
> "RF" wrote:
>
> > Thanks much
> >
> > P.S. Oracle's concat operator is || instead of +.
> >
> > "Marina" wrote:
> >
> > > Select Col1 + '-' + Col2 as MyDataValueCol FROM MyTable
> > >
> > >
> > > "RF" <RF@discussions.microsoft.com> wrote in message
> > > news:B638C3FB-2383-45AE-8AB5-3DCB97F13840@microsoft.com...
> > > > Thanks Marina, could you give me quick SQL example? Thanks.
> > > >
> > > > "Marina" wrote:
> > > >
> > > > > You can't do that. Do it in your SQL instead, so it is one column
when
> > > it
> > > > > comes in. Or, if you are using a datatable as the source, create
an
> > > > > appropriate expression column, and use that as the data value
field.
> > > > >
> > > > > "RF" <RF@discussions.microsoft.com> wrote in message
> > > > > news:3EFEF11A-A124-4FDF-87A9-5E022DE6F1D8@microsoft.com...
> > > > > > How can I do something like this
> > > > > >
> > > > > > AuthorList.DataValueField = "au_lname" &"-"& "au_id"
> > > > > >
> > > > > > I want to concatenate two columns together. Any ideas??
> > > > >
> > > > >
> > > > >
> > >
> > >
> > >



Relevant Pages

  • Re: Why does 1:3 relationsihp require another table?
    ... The order doesn't matter, but what does matter is that each of the ... The first R is a valid model of a scenario where Louis had two ... and Vice President Dick Cheney succeeds to the presidency. ...
    (microsoft.public.sqlserver.programming)
  • Re: Transaction log way too large - no transactional replication involved!
    ... developers than my case since we are working with SQL 2000. ... problems with the transaction log handling code, no matter what scenario ... I do definitely join your forces in this matter :-) ...
    (microsoft.public.sqlserver.replication)
  • Error 50002
    ... SP installed or not does no matter. ... A VBA piece of code instantiate a class of the dll developped in VB6 to ... In each scenario, the Win installation is a fresh one. ...
    (microsoft.public.vb.com)
  • Re: can the member function be compared?
    ... Bill Gates wrote: ... trying to accomplish. ... Why the heck does it matter to you what order ...
    (microsoft.public.vc.language)
  • Re: nvidia driver update causes problems
    ... Doesn't matter what I do in the settings, ... I'm updating as I get a lot of crashes lately. ... These symptoms usually mean the video card is failing. ...
    (microsoft.public.windowsxp.newusers)