RE: Silly Form Question: VFP

Author: Tracy Pearson

Posted: 2012-10-31 at 14:00:07

Desmond Lloyd wrote on 2012-10-31:

> Click on a command button does some stuff

> I have this code:

>

> public mproceed

> mproceed = .t.

>

> thisform.whatever(mproceed)

>

> Inside whatever: If this condition, mproceed = .f.

> return mproceed

> go back to the button click and mproceed is .t.

>

> Code blows up....

>

> Long day I guess...

>

> Yikes....

>

Desmond,

Public?

Try this

local mproceed

mproceed = .t.

mproceed = thisform.whatever(mproceed)

Tracy Pearson

PowerChurch Software

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/000c01cdb799$f25098e0$d6f1caa0$@powerchurch.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 Tracy Pearson