View Single Post
Old 05-13-2015, 03:49 PM
loquin's Avatar
loquin loquin is offline
Google Hound

Retired Moderator
* Guru *
Join Date: Nov 2001
Location: Arizona, USA
Posts: 12,400

Gruff is correct.

But, rather than trying to reinvent the wheel, since it appears that you are simply trying to split the 'fields' from the source string, use the SPLIT Function. i.e. Something along this approach:
Dim s() = SPLIT(Ler_linha_de_registos,";") ' OR Dim s() = Ler_linha_de_registos.Split(";") At this point, your array s has 12 elements. Now, assign to the fields With bs .nome = s(0) .morada = s(1) .idade = s(2) ' ... .apoios =s(11) End With

One final point - when you link to an image, rather than attach the image directly to the message using the Manage Attachments button, the availability of that image here is dependent upon the another site. If the other site is down for any reason, or you remove the image from that site, then the content goes away here...
Attached Images
File Type: png dn78smg.png (66.9 KB, 4 views)
"I have my standards. They may be low, but I have them!" ~ Bette Middler
"It's a book about a Spanish guy called Manual. You should read it." ~ Dilbert
"To understand recursion, you must first understand recursion." ~ unknown

Last edited by loquin; 05-13-2015 at 05:09 PM.
Reply With Quote