Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 12-19-2004, 09:17 PM
pyang pyang is online now
Registered User
 
Join Date: 12-23-2003
Posts: 33
Unhappy Where can i get the build status of a step that has ignore fail checked

Hi,

Anyone has any idea where i can get the build status information of a particular step that has the "Ignore Fail" checkbox checked?

Thanks.

pyang
Reply With Quote
  #2  
Old 12-19-2004, 09:44 PM
kevina kevina is online now
Registered User
 
Join Date: 03-27-2003
Posts: 825
The LASTSTEP_STATUS temporary macro. See the "System Macros" help entry for details.
Reply With Quote
  #3  
Old 12-20-2004, 08:08 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
That gives you the previously build step. To retrieve the status of a specific step, use

Project.Steps(vbldStepMain)(<0-based index>).BuildStatus

if you know its position. If you know its name (make sure it's unique for that step collection), use

Project.FindStep("step name", vbldStepMain)

to determine its index. When calling script expressions from a step property, remember to surround it in [brackets] to tell VBP that it's script.

http://visualbuild.com/Manual/?buildstatusproperty.htm
http://visualbuild.com/Manual/?stepsproperty.htm
http://visualbuild.com/Manual/?findstepmethod.htm
http://visualbuild.com/Manual/?stepitemproperty.htm
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 11:23 PM.


Copyright © 1999-2023 Kinook Software, Inc.