Thanks all.

I recently redid my whole setup step and the counter initialization must
have gotten nuked in the process.

 

I knew this, I really did. I need more coffee.

 

Thank you,

Mitch Lawrence

Lead Applications Analyst

Technical Support - NPR/Automation

CHRISTUS Information Management

*: [email protected]
<mailto:[email protected]> 

 

 

________________________________

From: [email protected] [mailto:[email protected]] 
Sent: Friday, August 21, 2009 9:45 AM
To: [email protected]
Subject: [talkbws] Re: Run-time error '13': Type Mismatch

 


Mitch, 
Type mis-match is assigning one type data to another type data. (int to
string or string to array...something like that) 
Not sure how BWS will declare F , flags. Usually VB by default stores
variable values as 'objects' meaning based on the value passed it will
assume the Data type. Unless until it is explicitly defined. 

Try to Initialize F("ITEMDONE") =0 if your type is numeric or "" if
string. then increment as you are doing F("ITEMDONE") = F("ITEMDONE")+1.


OR 

Declare a local variable of type "int" and then increment it. and  then
at the end assign the increment value to F("ITEMDONE"). 

Hope this helps 

Ranjit M Bendapudi
Meditech Service Center
CSC

5209 Linbar Dr., Nashville, TN 37211
P: +1-615.662-7775 |direct: +1- 615.493.9070 |[email protected] |
www.csc.com

This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. 
NOTE: Regardless of content, this e-mail shall not operate to bind CSC
to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of
e-mail for such purpose. 



[email protected] 

08/21/2009 09:30 AM 

Please respond to
[email protected]

To

[email protected] 

cc

 

Subject

[talkbws] Run-time error '13': Type Mismatch

 

 

 




Can anyone tell me why this: 
  
F("ITEMDONE") = F("ITEMDONE") + 1 
  
Would give me this: 
  
 
  
Thank you, 
Mitch Lawrence 
Lead Applications Analyst 
Technical Support - NPR/Automation 
CHRISTUS Information Management 
*: [email protected]
<mailto:[email protected]>  
 
  
  

--- 
To post a message to this list, send mail to: [email protected] 

You are currently subscribed as: [email protected] 

Unsubscribe in the customer center on our website:
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk
.aspx 
--- 
To post a message to this list, send mail to: [email protected] 

You are currently subscribed as: [email protected] 

Unsubscribe in the customer center on our website:
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk
.aspx 

<<image001.jpg>>

<<image002.jpg>>

<<image003.jpg>>

Reply via email to