|
-
Feb 12th, 2008, 09:29 PM
#12
Thread Starter
Member
Re: MS Flexgrid click on cell open form showing same record
Almost there..
OK I grasp what you are saying now.
Form1.ShowRecord lng_MyKey
passes the key to:
Public Sub ShowRecord(p_lng_RecordID As Long)
This is where I get lost:
I figured its an SQL statement and then loop it that would bring the single record which equals the key pass.
The part that confuses me is how does ShowRecord(p_lng_RecordID) know what record to pull? I thought you would include the variable" lng_MyKey " in the SQL Statement.
So what code in ShowRecord P_Ing_RecordID do I put in to pull that one record using the " lng_MyKey" variable?
Pics of what I am trying to do below:
Last edited by -zip-; Feb 12th, 2008 at 09:52 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|