Dawn I will double check on the var.
Thanks marc ----- Original Message ----- From: "Dawn Oakes" <[EMAIL PROTECTED]> To: "RBG7-L Mailing List" <[email protected]> Sent: Tuesday, February 15, 2005 12:42 PM Subject: [RBG7-L] - RE: RBTI_FORM_COLVALUE Marc, You need the quotes around the variable vptest. Is vptest predefined as text or is it some other data type? I'm not sure, but that may make a difference. You can always convert it to another data type once you get the value. Dawn -----Original Message----- From: Marc [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 15, 2005 1:23 PM To: RBG7-L Mailing List Subject: [RBG7-L] - RE: RBTI_FORM_COLVALUE Is there anything wrong with this GetProperty and Property command? GETPROPERTY chpriceID TEXTVALUE Vptest PROPERTY ptestid textvalue .vptest When I Rstyle the eep I get an error Not valid Getproperty command and this GETPROPERTY chpriceID TEXTVALUE 'Vptest' gets changed to GETPROPERTY chpriceid textvalue 'Vptest' I have even tried without the ' ' on Vptest. when I trace the EEP I get an error that the Property command sometimes that the command can't be evulated. Strange thing is I do not get this error all the time. Also, sometimes I get a number like 300,234,243,562,233 for the value. Of course I do not have that number anywhere. any suggestions where to look? Thanks Marc ----- Original Message ----- From: "Fran Yount" <[EMAIL PROTECTED]> To: "RBG7-L Mailing List" <[email protected]> Sent: Tuesday, February 15, 2005 9:50 AM Subject: [RBG7-L] - RE: RBTI_FORM_COLVALUE > Hi Marc > Have you thought about trying this? You could do this upon entering the next > field. Just a thought > > IF (vcode = 'IPAY' ) OR vst = '4' THEN > SET VAR vptest = $0.00 > ELSE > GETPROPERTY <FIELDid> TEXTVALUE 'Vptest' > PROPERTY <FIELDid> TEXTVALUE .vPTEST > > ENDIF > > > > Fran Yount > [EMAIL PROTECTED] > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] Behalf Of Marc > Sent: Tuesday, February 15, 2005 8:22 AM > To: RBG7-L Mailing List > Subject: [RBG7-L] - RBTI_FORM_COLVALUE > > Hi all > > I am getting closer to getting my form working correctly but I am > having a problem with RBTI_FORM_COLVALUE. > > I have 2 currency columns, the first one is ch_price the second > one is Ptest. > > I want to use the property command to set the 2nd column = > to ch_price sometimes or $0.00 depending on other values. > > But when I trace the eep RBTI_FORM_COLVALUE never > get the value of ch_price. This eep is on Exit from ch_price. > > IF (vcode = 'IPAY' ) OR vst = '4' THEN > SET VAR vptest = $0.00 > ELSE > SET VAR vptest = .RBTI_FORM_COLVALUE > ENDIF > > PROPERTY ptestID textvalue .vptest > > Thanks > marc > >
