>naomi,
>that cursor in the form. The current code uses
>>
>>set datasession to 1
>>
>>...
>>
>>then restores the datasession using saved transform of the set('datasessionID')
>>
>>set datasession to &lcOldDS
>>
>>I think it's not a very good code and looking for alternative methods.
>
>If the cursor is opened anyhow on the app object,
>methods to query it should be on the app object.
>
>Or, to be more exact, they should be on the object creating the cursor.
>For application services it often makes sense to open some tables only once
>and not again in every form - but then the service should be intelligent to query this table.
>
>my 0.02 EUR
>
>thomas
I agree, but the application and code is already written and I didn't want to mess much with the code - don't know what problems may arise if I change it.
If it's not broken, fix it until it is.
My Blog