Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pageframes
Message
From
11/07/1999 15:18:37
 
 
To
10/07/1999 23:36:46
Richard Williams
State of Ohio, Dept. of Development
Columbus, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Miscellaneous
Thread ID:
00239911
Message ID:
00239984
Views:
14
>I have a form with 5 pages. A textbox on page 4 is actually the sum of five fields on page 5 which I have coded in the Refresh Propery on page4 as follows:thisform.ws_pageframe.page4.txtProj_Mhi.value = thisform.ws_pageframe.page5.mhi_amt1 + mhi_amt2 + mhi_amt3 + mhi_amt4 + mhi_amt5 However, when I compile and run the application and click on page four(4) I instantly receive an Error Message telling me that the propery mhi_amt1 is not found. Any ideas what I am doing wrong?! Thanks Rick

Shouldn't it be:

thisform.ws_pageframe.page4.txtProj_Mhi.value=;
thisform.ws_pageframe.page5.mhi_amt1.value + ;
thisform.ws_pageframe.page5.mhi_amt2.value + ; thisform.ws_pageframe.page5.mhi_amt3.value + ;
thisform.ws_pageframe.page5.mhi_amt4.value + ;
thisform.ws_pageframe.page5.mhi_amt5.value

You may have to add the STR() function depending on what kind of field mhi_amt is bound to. HTH
Previous
Reply
Map
View

Click here to load this message in the networking platform