Here's what I suggested David. >>Set var vptest text = null Getproperty chpriceID textvalue 'vptest' Set var vptest CURRENCY = .vptest PROPERTY ptestid textvalue .vptest
To convert the text variable to the data type of the field receiving the property command. Dawn -----Original Message----- From: David M. Blocker [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 16, 2005 9:41 AM To: RBG7-L Mailing List Subject: [RBG7-L] - Re: Property problems What solution did you find? I didn't see Dawn's solution she sent - (sometimes my email gets swallowed up somewhere and never makes it here...) Your code looked fine to me. David Blocker [EMAIL PROTECTED] 781-784-1919 Fax: 781-784-1860 Cell: 339-206-0261 ----- Original Message ----- From: "Marc" <[EMAIL PROTECTED]> To: "RBG7-L Mailing List" <[email protected]> Sent: Wednesday, February 16, 2005 9:16 AM Subject: [RBG7-L] - Re: Property problems > David > > I do have the IF my EEP, I just can't cut and paste sometimes! > > Marc > > ----- Original Message ----- > From: "David M. Blocker" <[EMAIL PROTECTED]> > To: "RBG7-L Mailing List" <[email protected]> > Sent: Wednesday, February 16, 2005 7:51 AM > Subject: [RBG7-L] - Re: Property problems > > > > Mark > > > > It's a small thing and I don't think it would account for the > > problem, but > > notice you're missing the word "IF" at the start > > > > vtran = '2.' then > > set var vptest currency = $0.00 > > > > GETPROPERTY chpriceID textvalue 'vptest' > > > > PROPERTY ptestid textvalue .vptest endif > > > > RETURN > > > > > > David Blocker > > [EMAIL PROTECTED] > > 781-784-1919 > > Fax: 781-784-1860 > > Cell: 339-206-0261 > > ----- Original Message ----- > > From: "Marc" <[EMAIL PROTECTED]> > > To: "RBG7-L Mailing List" <[email protected]> > > Sent: Tuesday, February 15, 2005 5:15 PM > > Subject: [RBG7-L] - Property problems > > > > > > > Hi > > > > > > In an effort to track down my error I have reduced the EEP to the below. > > > I have custnum, trdate, tran, chprice and ptest. > > > This eep is on Exit from chprice and I am trying to put the same number > > > in ptest. > > > > > > If I put 2 in tran (vtran) then -$5.00 in chprice and trace this > > > eep the > > > value > > > for vptest is like 14 trillion dollars!!! What am I doing wrong??? > > > Don't get me wrong I would love go get paid that much but.... > > > > > > Marc > > > > > > vtran = '2.' then > > > set var vptest currency = $0.00 > > > > > > GETPROPERTY chpriceID textvalue 'vptest' > > > > > > PROPERTY ptestid textvalue .vptest endif > > > > > > RETURN > > > > > > > > > > > >
