>>>>>Is it working?
>>>>>I would remove [Models] from Tables property :-)
>>>>
>>>>Yes, I was thinking about it too a moment ago. Give me a second. Also, since my fields don't allow NULLs, may be I can use CAST(NVL(Cost,0) as N(10,2)) as Cost, etc. in the SelectCmd.
>>>
>>>Sure, every fields that not allow NULLs should be converted.
>>
>>BTW, one little detail - not sure if important. In the DealerOpts table the field is called Type, not cType. May be I should go ahead and better rename this field as cType - the DealerOpts table is new anyway. What do you think?
>
>
>BTW if you want the AutoInc field to be automatically populated after insert/update you should add these 4 properties:
>
>InsertCmdRefreshFieldList = "OPTSID"
>UpdateCmdRefreshFieldList = "OPTSID"
>InsertCmdRefreshCmd = "SELECT OPTSID FROM DealerOpts WHERE OPTSID = GETAUTOINCVALUE()"
>UpdateCmdRefreshCmd = "SELECT OPTSID FROM DealerOpts WHERE OPTSID = GETAUTOINCVALUE()"
>
Thanks a lot again - give me a second to change table structure in Data Dictionary, change one extra program and then I would implement your suggestions and re-try.
If it's not broken, fix it until it is.
My Blog