Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListBox Problem
Message
From
12/04/2021 03:55:29
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
12/04/2021 01:47:00
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01679759
Message ID:
01679765
Views:
47
Good Morning Tore!

But then I would not run a grid against a plain SELECT SQL, I use this for straight processing only.

I mean views and changing views was a big problem, but since we have CA's this is gone.

Is there any other advantage in this approach?

Lutz

>I'm sorry, I mixed up with a grid.
>
>>Hi Tore,
>>
>>This confuses me. Isn't that what VIEWS and CA are made for and REQUERY() is used?
>>Also Listboxes with RowSourceType = 3 will simply refreshed with ListBox.REQUERY()
>>
>>The idea to bound a Listbox to a cursor created with SELECT SQL that is not in ROWSOURCE or CA/VIEW is the problem.
>>Using a SQL SELECT and then bound to its cursor is wrong approach to me.
>>
>>If listboxes cursor is needed for anything else, ist's still no problem because
>>
>> .cboi1V4_1.ROWSOURCETYPE = 3
>> .cboi1V4_1.ROWSOURCE = ;
>>  'SELECT'+;
>>  ' Cur1.cName,'+;
>>  ' TRANSFORM(Cur1.iObj_Ix,"'+dcTrans_Int+'") AS ci1V4_1'+;
>>  ' FROM '+THISFORM.gcCur_Requery_i1V4+' AS Cur1'+;
>>  ' INTO CURSOR curcboi1V4_1'
>>
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform