Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Show at mygrid
Message
De
11/03/2005 16:07:18
 
 
À
11/03/2005 12:55:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 5
Database:
Visual FoxPro
Divers
Thread ID:
00994890
Message ID:
00995016
Vues:
24
hi,
i fixed the problem,
thank you, have a nice weekend.
best regards.
m.qasem
>Sorry,
>
>THis is meaningless to me. And you've not said if you HAVE done a grid.refresh(). Looking at your code I can't see the problem with showing the data in the grid. If there's another problem and your code isn't doing what you want then your message doesn't make this clear. Perhaps someone else is more receptive to your problem. I'm soon off home for the weekend.
>
>Masalaam.
>
>>ok,
>>i insert the data at fields s,e and f ,
>>if i creat mygrid via choice the 3 fields s,e and f only,
>>i see new empty record at mygrid,
>>
>>but if i choice all record from my table at mygrid, i can see the data at e.x fields w,r,t...at mygrid.
>>this is the problem.
>>thanks.
>>
>>>So? I don't see from what you say how this makes a difference. You insert/append a record in your table, and/or replace as many fields as you wish, then refresh the grid.
>>>
>>>>hi,
>>>>thank you,
>>>>but my problem is if i have 10 fields as a,b,c,d,e,f,g,h,...
>>>>i choice e.x d,e,f when i build mygrid ,i want to insert data just to this fields only ,after i insert it i want to see that at mygrid.
>>>>
>>>>thanks
>>>>>M.
>>>>>
>>>>>Have you tried:
>>>>>
>>>>> Thisform.grdMyGrid.Refresh()
>>>>>
>>>>>after all the REPLACEs ?
>>>>>
>>>>>Terry
>>>>>
>>>>>>hi all,
>>>>>>
>>>>>>i try to insert some data at mygrid1, via this code under.
>>>>>>fields E,S,F at the middle of mytable,
>>>>>>i cant see the data at mygrid after i insert the data,but i can see it if i make brows to the table or if get all filed at mygrid, i need to see the 3 fields only at mygrid with data,
>>>>>>any help
>>>>>>
>>>>>>
>>>>>>if thisform.text4.value=space(10)
>>>>>>  thisform.text4.setfocus
>>>>>>  =MESSAGEBOX(" you must enter")
>>>>>>  thisform.grid1.visible=.f.
>>>>>>else
>>>>>>  thisform.grid1.visible=.t.
>>>>>>  LOCATE FOR UPPER(E)=UPPER(TRIM(THISFORM.TEXT4.VALUE))
>>>>>>IF !FOUND()
>>>>>> APPEN BLANK
>>>>>> REPLACE E WITH THISFORM.TEXT4.VALUE
>>>>>> REPLACE COLUMN14 WITH THISFORM.TEXT4.VALUE
>>>>>> REPLACE F WITH THISFORM.TEXT5.VALUE
>>>>>> REPLACE S WITH THISFORM.TEXT6.VALUE
>>>>>> REPLACE FLAG WITH THISFORM.TEXT2.VALUE
>>>>>>ELSE
>>>>>> REPLACE E WITH THISFORM.TEXT4.VALUE
>>>>>> REPLACE COLUMN14 WITH THISFORM.TEXT4.VALUE
>>>>>> REPLACE F WITH THISFORM.TEXT5.VALUE
>>>>>> REPLACE S WITH THISFORM.TEXT6.VALUE
>>>>>> REPLACE FLAG WITH THISFORM.TEXT2.VALUE
>>>>>>ENDIF
>>>>>>endif
>>>>>>thisform.Refresh
>>>>>>
>>>>>>
>>>>>>
>>>>>>thanks
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform