Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grdi does not show Table contents !!! Help me

Status
Not open for further replies.

sarah77

Programmer
Jun 4, 2002
36
0
0
US
I created a new simple form contains a grid linked to a table AGENTS. When I run the form then the grid is getting empty despite the table AGENTS contains data. WHY ?

If I link the grid with any other table then grid shows up fully with data.

Very strange to me. Any help will be much appriciated
 
Sarah,
Unfortunately this is one of those questions that isn't easy to answer without more information:
1) How did you create this grid? e.g Grid buider, all in code.
2) Is Agents a "real" table (free or part of a database), a view, or just a cursor?
3) Does the form use a private datasession? If yes, and Agents is a table, is it part of this forms Dataenvironment or do you explicitly open it in the Load() method?
4) Are you getting any warnings or error messages when you startup this form?

Rick
 
is it in a multi-user envirenment? Tekno
Wireless Toyz
Ypsilanti, Michigan
 
Sarah77,

Try in the grid's init():
THIS.RECORDSOURCE ="AGENTS" && With the quotes.
 
Sarah77,

Try in the grid's init():
THIS.RECORDSOURCE ="AGENTS" && With the quotes.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top