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!

DISPLAY ALL FIELDS DATABASE

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
Friends,


how I do to display all fields of a database without name it, for example:

Accept "Enter Database name" to test
Use &test

So, in principle I am not know the name of the fields of the database, but I will display them. How I do ?

DISPLAY ALL FIELDS (NOT WORK)
DISPLAY FIELD_NAMES (NOT WORK)
DISPLAY ALL (NOT WORK)

Could you please help me, please!



 
you have to use the fcount()

fcount() // gives you the field count
fname() // gives you the field name

so

Use &Table
For nCount = 1 to FCount()
?? "Field Name: " + FName(nCount)
Next Tekno
Wireless Toyz
Ypsilanti, Michigan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top