Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Indexseek - doesn't work in VFP6?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Indexseek - doesn't work in VFP6?
Miscellaneous
Thread ID:
00717830
Message ID:
00717830
Views:
71
Hi everybody,

I have a form with a grid. One of the column is bound to lSelected field and uses a checkbox.

In my button's code I have:
if not indexseek(.t.,.f.,'FileAdmin','lSelected') && No records marked
	=messagebox('You have to select records for extracting first!',48,'No records marked')
	return .f.
endif
Here is the behavior, I observe - if I'm sitting on the record and mark it (no records were marked before), I receive the messagebox about no records marked. The second time I press the button, it works fine. Same if I unmark the record. My process will run the first time and only the second time I get a message.

Does it mean, I'm doing something wrongly or Indexseek function could not be used in such context?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform