Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>There is known grids problem. They hate to see their cursors to be bluntly overridden. It can be accomodated, but if you have small cursor, then it's reasonable not to override it. Your code may look like:
>nId=Clients.id
>IF NOT USED("curtrip")
> CREATE CURSOR curtrip (.....)
> Thisform.Grid1.Recordsource="curtrip"
>ENDIF
>Select curtrip
>set safety off
>ZAP
>set safety on
>Select ....From Trips Into Array Myarray Where Trips.ClientId=nId
>Insert Into Curtrip From Array myarray
>Thisform.Grid1.Refresh
Ok, I get it. I didn't know you could insert from an array. That's cool.
If I'm using private datasessions, will the cursor be part of that? I mean, will there be problems if the form is run more than once simultaneously?
Thanks,
-Michelle
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement