Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table with If Condition

Status
Not open for further replies.

sunnydreams

Technical User
Oct 30, 2005
5
US
VB 6 Code:

If szSenderID = "sss" And dict_L11.Item("employeeIdQualifier") = "zz" And IsNumeric(Left(dict_L11.Item("employeeId"), 1)) = True Then
dict_L11.Item("employeeId") = "AB" & dict_L11.Item("employeeId")

The result for this Code is
IF Employeeid= 123 it gives result as "AB123"
if employeeid= 1g3 it gives result as "AB1g3"
if employeeid= g12 it gives result as "g12"
IF employeeid =aa2 it gives result as "aa2"

The problem that I have

..I need to get "ABg12" when I give employeeid as g12.

Can u pls help me.
Thx in advance
 
IsNumeric(Left(dict_L11.Item("employeeId"), 1))


for g12, the "g" IS NOT NUMERIC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top