Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Locate not working right
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00669297
Message ID:
00669914
Vues:
11
Before I used the command locate I moved the setfocus to a command button, but it didn't make any difference.
		SELECT MAX(lv_veh_assign.a_uniqueid) FROM lv_veh_assign ;
			WHERE lv_veh_assign.a_id = .a INTO array a__gen12
		zx = a__gen12(1,1)
		.pf1.p3.cmdaddassign.setfocus()
		LOCATE FOR lv_veh_assign.a_uniqueid = zx
		RELEASE a__gen12
		thisform.f = lv_veh_assign.a_uniqueid
		.pf1.p3.cmddelassign.visible = .t.				
		.pf1.p3.refresh()
Thanks
Nick Patel


>Yes your grid is moving the record pointer on you. Take focus out of the grid before you do this code.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform