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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Split the Field value

Status
Not open for further replies.

EZLI

IS-IT--Management
Sep 3, 2002
31
LV
Hi,
I have on Form three Fields:

Field1 Value *123456*72.47*
I need to split that value following to:

Field2 Value 123456
Field3 Value 72.47

Can somebody help.

Thank's in advance
 
Use the Split() function:
Code:
Dim vals As Variant

vals = Split(Me!Field1, "*")

Me!Field2 = vals(1)
Me!Field3 = vals(2)

VBSlammer
redinvader3walking.gif

"You just have to know which screws to turn." - Professor Bob
 
Thank You VBslammer!
It's working.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top