Here is an example:
public void executeQuery()
{
QueryBuildRange queryBuildRange;
;
queryBuildRange = Projcategory_ds.query().dataSourceTable(tablenum(Projcategory)).findRange(fieldnum(Projcategory,Categorytype));
if(!queryBuildRange)
{
queryBuildRange = Projcategory_ds.query().dataSourceTable(tablenum(Projcategory)).addRange(fieldnum(Projcategory,Categorytype));
}
queryBuildRange.value(queryValue(ProjCategoryType::Item));
super();
}
{
QueryBuildRange queryBuildRange;
;
queryBuildRange = Projcategory_ds.query().dataSourceTable(tablenum(Projcategory)).findRange(fieldnum(Projcategory,Categorytype));
if(!queryBuildRange)
{
queryBuildRange = Projcategory_ds.query().dataSourceTable(tablenum(Projcategory)).addRange(fieldnum(Projcategory,Categorytype));
}
queryBuildRange.value(queryValue(ProjCategoryType::Item));
super();
}
Aucun commentaire:
Enregistrer un commentaire