logo       

Re: Need a help binding a datacontrol to more than one column of a ListBox: msg#00144

lang.realbasic.beginner

Subject: Re: Need a help binding a datacontrol to more than one column of a ListBox

On 3/20/06 8:20 AM, "Matteo Lovatti" <matteolovatti@xxxxxxx> wrote:

> Hi everybody, just as the subject i really need a littel help binding
> a datacontrol to more than one column of a ListBox
> if i do the binding i just have to choose between one of them, don't
> know how to do it. I would like to load some records
> in the ListBox throught the DataControl to get a rapid editing form.
>
> Thanks a lot
>
> Matteo.

Hmm...I think you might want to use a DatabaseQuery control (rather than a
DataControl).

You need only one binding (signified by the line). The DatabaseQuery will
return fields in the order in which the appear in your query; the first
field will populate the first cell in the row (and so on).

See Aaron's "Database Example" in the "Example Projects" at:

http://www.realsoftware.com/download/mac/

It's a great example (and a good general database example).

If that's not what you want to do, please clarify.

Michael

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise