This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, I've already read the posts open in the community, but I don't understand how work views... My view is called Sottoscorta_v01 and is dragged on the editor (named SottoscortaV01) I've tried to retrieve data so: vQuery.QueryExpression = Entity.Attribute("Movmacoartic") == _Articolo.Codart.ToString() && Entity.Attribute("Movmadadtmov").Between(iFunction.FormatData("yyyy-mm-dd", "01/01/" + _annoCorrente), iFunction.FormatData("yyyy-mm-dd", DateTime.Now.Day + "/" + DateTime.Now.Month + "/" + _annoCorrente)); vQuery.Order = Order.By(Entity.Attribute("Movmadadtmov")).AndBy(Entity.Attribute("Movmanunrmov")).AndBy(Entity.Attribute("Movmanunriga")); IList<SottoscortaV01> _Movimenti = uow.Find<SottoscortaV01>(vQuery); I've this error: Table 'ics_db.sottoscortav01' doesn't exist
Where is the error?
Thanx |
|
|
[quote user="Antonio"]My view is called Sottoscorta_v01 and is dragged on the editor (named SottoscortaV01) ... I've this error: Table 'ics_db.sottoscortav01' doesn't exist[/quote] It looks like LightSpeed has either failed to set the Table Name or has set it wrong. Click on the SottoscortaV01 entity, go to the Table Name in the Properties window, and set it to Sottoscorta_V01 (with the underscore).
|
|