>>>Hi Marc
>>>
>>>In my select i have tow parameter and it still asking me a value for each one
>>
>>Could you post the code you are trying to use? Are you getting an error message? If so, what is it?
>
>Thank's Marc for your time
>Il'try to be more clear
>It's my first contact with the CursorAdapter
>
>I have use the builder in the DataEnvironment to creat it
>The dataSource type is ODBC,My string connection to the sql server work fine
>and In the select command i have write
>Select A_Lock.LTABLE, A_Lock.ID_TABLE from A_Lock Where LTABLE = ?tTable and ID_table = ?tId_Table
>
>When the form show i dont wont To enter the value of the parameters,
>It's the user job to select the value, after he select the value, I affect the parameter and do the requery
>
>I have supose that i can use the CursorAdapter like a View with parameter and the NodataOnload ?
Hi Marc,
Try to override CursorAdapter.AutoOpen as follows:
this.CursorFill(.F.,.T.)
NODEFAULT
Thanks,
Aleksey.