Subject | RE: [IBO] Pulling my hair out: ParamByName stopped working |
---|---|
Author | Alan McDonald |
Post date | 2006-11-21T21:23:52Z |
> Thanks Alan for your help. What exactly do you mean by aliasing?give the fieldname in the where clause your alias as in
>
> Mitch
>
> > > whereif this is what you want. Is pversion_id also in the other tables?
> > > (
> > > (spec.pversion_id = :var_PVERSION_ID)
> > > )
Alan
>
> > >
> > > =====
> > > qryCurrProjSpecs:
> > >
> > > select
> > > spec.spec_id,
> > > spec.pversion_id,
> > > spec.spec_descr,
> > > spec.supplier_ref,
> > > spec.unitcost_est,
> > > spec.unitcost_act,
> > > spec.approved,
> > > spec.unitdelivcost,
> > > spec.act_leadtime,
> > > spec.est_leadtime,
> > > spec.spec_active,
> > > spectype.name_eng spectype_name,
> > > spec.specattr_fabric_id,
> > > spec.specattr_misc_id,
> > > spec.specattr_elec_id,
> > > uom.code uomcode,
> > > party.shortname supplier_shortname,
> > > spec.spectype_id
> > > from spec
> > > inner join spectype on (spec.spectype_id = spectype.spectype_id)
> > > inner join uom on (spec.uom_id = uom.uom_id)
> > > inner join party on (spec.supplier_id = party.party_id)
> > >
> > > where
> > > (
> > > (pversion_id = :var_PVERSION_ID)
> > > )
> > >