Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's wrong here?
Message
From
11/04/2001 12:50:54
Jonathan Cochran
Alion Science and Technology
Maryland, United States
 
 
To
11/04/2001 11:38:27
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00494460
Message ID:
00494503
Views:
14
You can set a breakpoint on this line, then go into the debugger to see the values of all the variables/fields you are comparing. This should tell you right away where the problem is.

>VFP 6.0 SP4
>
>
rp=RECNO()
>IF	m.organization==org.organization AND ;
>	m.orgname==org.orgname AND ;
>	m.chairperson==org.chairperson AND ;
>	IIF(m.delegated='Y',.T.,.F.)=org.delegated AND ;
>	m.delegationlimit==org.delegationlimit AND ;
>	IIF(m.contract='Y',.T.,.F.)=org.contract AND ;
>	IIF(m.inactive='Y',.T.,.F.)=org.inactive
>*		wait window 'Same stuff - @ record '+ALLTRIM(STR(RECNO()))+ ;
>*					' and was '+ALLTRIM(STR(rp))
>ELSE
>
>It worked sometime and sometimes it doesn't (goes on pass ELSE). This is the first thing that checks if the 'Save' button is clicked and nothing was changed (to act as of like the 'Esc' button). I mean it was working just fine all along for weeks, and now it's something else?
>
>org.organization is character field
>org.orgname is character field
>org.chairperson is character field
>org.delegated is logical field
>org.delegationlimit is numeric field
>org.contract is logical field
>org.inactive is logical field
>
>Little Off Topic: Not only that, I had something added in the Deleted Trigger, which I never put anything in there (nor was something in the RI). Could it be VFP bug, because I am also have little odd button behavior (disabling/enabling works, but not all greyed out repectively)? Yeah, I did requested to the LAN Admin to upgrade the SP4 to SP5, and his reply was "We are still testing it." Excuse me, but he has no involvments whatever with VFP (only one copy is installed in "my" PC), so what would he be testing for? Yeah, I mailed/emailed out my resumes yesterday...
>
>Chuck
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform