Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Do ...
Message
 
 
To
14/02/1999 22:26:12
General information
Forum:
Visual Basic
Category:
Other
Title:
Re: Do ...
Miscellaneous
Thread ID:
00187577
Message ID:
00187621
Views:
17
>Actually .. this is a very simple problem .. but I don't understand why .. VB6 give me the error message "No current record" .. can anybody explain to me .. please .. the statement is below :
>
>
>
>Customer.MoveFirst
>With Customer
>Do
> mCustomerCode=!CustomerCode
> While NOT .EOF and mCustomerCode=!CustomerCode
> txtShow.Text = !CustomerCode
> .MoveNext
> Wend
>Loop Until .EOF
>.Close

When your record pointer moves to EOF the While statement apparently tries to make the customer code compairson even thought the first part of the While expression (NOT .EOF) evaluates false.

Regards,
Mike
Michael McLain
Previous
Reply
Map
View

Click here to load this message in the networking platform