linking controls to data sources
- From: cj <cj@xxxxxxxxxxxxx>
- Date: Wed, 12 Sep 2007 15:59:31 -0400
I'm not the most knowledgeable in VFP but I have two stand alone tables that I need to allow to be browsed. I've made a form and to set things up put this code in the load procedure:
USE c:\results.DBF
SELECT b
USE i:\probill\btn_note.DBF
SET ORDER to BD && BTN+DTOS(NOTE_DATE)
SELECT a
SET RELATION TO btn+date INTO b
This form is basically to let users to what I'd do with the following command:
Browse fields results.btn, results.cc, btn_note.note
On theform I put a grid control on the form with it's source set to results.dbf and a textbox with it's source set to btn_note.note.
When I run the form how can I get the textbox to update to display the note field from btn_note corresponding to the record in results the grid is showing?
.
- Follow-Ups:
- Re: linking controls to data sources
- From: cj
- Re: linking controls to data sources
- Prev by Date: Re: Compile - file is not open error
- Next by Date: Re: linking controls to data sources
- Previous by thread: limit to number of files handled by adir?
- Next by thread: Re: linking controls to data sources
- Index(es):
Loading