New topic: Getting a non null primary key
<http://forums.realsoftware.com/viewtopic.php?t=29392> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message martinpaulrice Post subject: Getting a non null primary keyPosted: Tue Aug 04, 2009 3:15 pm Joined: Wed Apr 11, 2007 1:17 pm Posts: 18 When I click on a row or cell in my listbox I get the row number in the Change event. I can use that to put the db fields into edit fields on my window after using an sql SELECT statement. Each row has a non null primary key in a hidden column and I would like to get that and use it in my sql statement. But I can't seem to figure out how to get it into a variable. I can get it displayed in a msgbox for me by having this (which I found here in the forum) in my code: Code:myString = me.Cell(me.ListIndex, -1) MsgBox myString But what do I need to do to get the primary key number into a variable? Thanks for any help. _________________ Martin Signal Mountain, TN Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
