On 07.11.2012, at 17:26, Christian Schmitz <[email protected]> 
wrote:

> 
> Am 07.11.2012 um 17:22 schrieb Massimo Valle <[email protected]>:
> 
>>> Can't you simply put in table name yourself?
>> 
>> The SQLCommandMBS object will be passed to another object which need to know 
>> on which table operated. Having the table as a parameter would help me on 
>> easy later retrieval. That's the only reason for non putting the table name 
>> into the string.
>> Anyway, is not the table a parameter?
> 
> Simply pass SQL string with table name inside. Should be no problem.
> Or pass table name as extra parameter.

I found a better method to keep a clean design using SQLCommandMBS.Option 
property:

mySQLCommandMBS.Option("table") = "my_table"

then I can retrieve it later.
Also I can store additional informations which remains with the SQLCommandMBS 
object and I have only one object with all info embedded. Neat.


Massimo Valle

SACO Software and Consulting GmbH, Mühlgasse 5, D-97840 Hafenlohr
Tel.: ++49 9391 90890-0, Fax: ++49 9391 90890-99, E-Mail: [email protected]
Amtsgericht Würzburg HRB 5410, Geschäftsführer: Peter Schubert, 
Dipl.-Wirt.ing.(FH) Thorsten Beck

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to