Cursor Record Number on grid

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
Wendy
Profound User
Posts: 37
Joined: Mon Aug 06, 2018 4:00 pm
First Name: Wendy
Last Name: Sauers
Company Name: Conestoga Wood Specialties
Phone: 5706589663
Address 1: 441 West Market St.
City: Beavertown
State / Province: Pennsylvania
Zip / Postal Code: 17812
Country: United States
Contact:

Cursor Record Number on grid

Post by Wendy »

I have a very simple grid using the database file and fields properties to populate it. I want to double click on the row and return to the program with a value in the Cursor Record Number variable. I do this often but have not done it when populating the grid with the database file. I don't understand why it won't work in this case and hope I'm just overlooking something simple.

My grid populates just fine. When control goes back to the program, my cursor record number variable is zero.

Thank you,
Wendy
Attachments
cursor rec numb 1.PNG
cursor rec numb 1.PNG (3.09 KiB) Viewed 2064 times
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Cursor Record Number on grid

Post by Scott Klement »

Database-driven grids don't report data back to the RPG program. They are for output to the display, only.

You could write JavaScript code to find the row that the user double-clicked on.

Or, you could load the grid from RPG.
Wendy
Profound User
Posts: 37
Joined: Mon Aug 06, 2018 4:00 pm
First Name: Wendy
Last Name: Sauers
Company Name: Conestoga Wood Specialties
Phone: 5706589663
Address 1: 441 West Market St.
City: Beavertown
State / Province: Pennsylvania
Zip / Postal Code: 17812
Country: United States
Contact:

Re: Cursor Record Number on grid

Post by Wendy »

Well that makes total sense. But I wish they would! It would be amazing. Maybe I'll suggest it.

Thank you!
Wendy
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests