>>>This is for FoxPro for Windows 2.6
>
>Thank you for this explanation. Can you help me little more on how to do this about? I want to have this IN an screen. Do I need to type this coding in the "Screen Setup Code" or where do I type this in? In the main.prg, along with Select parent_table/Select child_table? How do I make sure it is always refreshing when the record pointer moves in the parent_table? I am ready to DELETE the Listbox out off the screen, but I need to know how to put IN the BROWSE window WITHIN the screen (so it looks as one altogether). Tell me more please. I would even be more than glad to email you this project so you can help me create this for me (I'll have it in zipped, only 1 screen and two tables of 3 records each).
You can open the tables in your main program and just select them as you need them.
In order for you to manipulate Browse just a Grid (but I have no guarantee that it behaves 100% the same), you may include the NAME option of the BROWSE command.
Select your_table
BROWSE NAME browse_temp_table
Browse_Temp_Table.Refresh()
etc.
>>Look into BROWSE KEY cExpression1, cExpression2 workaround:
>>
>>Sample code:
>>
>>Use parent_table In 0
>>Use child_table In 0 Order idcode
>>
>>** see the behaviour using top most record of the parent_table
>>Select parent_table
>>Go Top
>>
>>Select child_table
>>Browse Key parent_table.idcode
>>
>>** try different parent_table idcode
>>Skip In parent_table
>>Browse Key parent_table.idcode
>>
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net
CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."