Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid shows empty data
Message
 
À
06/09/2017 21:38:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01654068
Message ID:
01654069
Vues:
85
This message has been marked as the solution to the initial question of the thread.
>I copied a form from one project to another. I need only a small piece of the functionality so I've stripped out the unneeded controls. There is a grid remaining on the form. In the Init of the form I have
>SELECT crsEcoDetail
>thisform.cmdExit.SetFocus
>with thisform.grdWorkflow
>	.columncount = 8
>	.RecordSourceType = 1 
>	.recordsource = 'crsEcoDetail'
>.refresh
>etc.
>
>I have verified that there is data in my cursor. In the debugger I have RECCOUNT(thisform.grdWorkflow.recordsource) and it shows 71.
>
>Yet the grid is completely blank.
>
>I then set a couple of controlsources.
>thisform.cntCommitDate.txtDate.ControlSource = thisform.grdWorkflow.recordsource + ".dt_commit"
>
>I'm pointed to a record which has a value in dt_commit, but the value in the control remains empty.
>The same holds true for several other controls I try to populate.
>
>It is probably something blindingly obvious, but I must be blind.
>
>Are there any grid/form/control properties I can check to see why I get this behavior?
>
>All help appreciated. I'm completely lost.
>
>............ Rich

What is the value of thisform.BindControls?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform