Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox rowsource includes a memo field
Message
De
08/04/2004 08:49:30
 
 
À
08/04/2004 03:13:47
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00892993
Message ID:
00893236
Vues:
33
Hi Cetin,

The NONCONSOLE stopped the display of the query results to the screen in the background. It doesn't occur on any other SELECT statements in other apps so I am not sure why it did on this one. This is a small in-house app to be used by developers and our help-desk to streamline the creation of insurance pdf forms, pdf form fields, and populating the pdf forms. The forms are later created on the fly and populated with data from our app programmatically during runtime. There are a few steps to go through during development time (adding the fields to the pdf form, storing the pdf form in a memo field in a file, mapping the form fields to our app's variables, etc) and since there will be over 400 forms that must be created we are planning on the helpdesk personnel participating in the process and they are not deveopers so we are automating the process. I have not put in all of the environment settings we typically include in our distributed apps so that may have something to do with it ocurring to begin with too.

I was selecting into a table because the table is used for other reasons outside the form and I wanted it available before, during, and after the form. I also wanted it to remain afterwards for testing purposes, but I have since changed it to a cursor instead which suits my purposes fine.


Tracy

>>Nevermind, found the NOCONSOLE keyword...
>>My code works:
>>
>>
>>lctable = sys(2015)+SYS(3)
>>SELECT formfield AS formfield,;
>> LEFT(profiler,100) AS profiler;
>> FROM acordict WHERE !EMPTY(formfield);
>> INTO TABLE (lctable) ORDER BY formfield
>>
>>
>>However that pesky sql results window opens up in the background behind the form and I've forgotten how to prevent that. Any ideas?
>>
>>TIA,
>>Tracy
>
>Hi Tracy,
>Well I'd say include a destination clause (into ...) but you already did and saying it shows up stumped me :)
>NOCONSOLE ??? What for ?
>You confused me :)
>1) Why a random generated name ?
>2) Why a table - particularly when it's a table and not a cursor ?
>3) Why not directly single RowSource='select.... into cursor crsCursorName'
>Cetin
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform