Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Indexseek - doesn't work in VFP6?
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Indexseek - doesn't work in VFP6?
Divers
Thread ID:
00717830
Message ID:
00717830
Vues:
72
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform