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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SET FIELDS CONFUSION

Status
Not open for further replies.

TrueCode

MIS
Joined
Sep 30, 2003
Messages
71
Location
LC
I have a generic form that I want to use in cases where my user has to visual inspect and select search results. The form has a grid that pulls from the underlyping results table. I want to use set fields to place the fields on the table in the order that I want them to appear on the grid. I don't want to individually code the column of the grid to achieve that.

when i use set fields to field1,field2 etc it seems to affect the other tables in other work areas.

Please help.

I have read the help and am still confused.
 
truecode

It certainly shouldnt behave this way.

As a workaround, why not select all the data from your table into a cursor, and tie the grid to the cursor instead.
You could also just select the fields required, instead of using set fields.

eg select field1,field2 from TABLENAME into CURSOR crsGrid



WTrueman
...if it works dont mess with it
 
Thanks Trueman

It worked, I mean with your suggestion.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top