Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select-SQL
Message
 
To
14/04/2005 04:56:31
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
01004461
Message ID:
01004525
Views:
18
>I can't make it, the record always show first record.
>
>my form is: a gird at upper part, some textbox for insert value at bottom part. when user fill in some data in bottom part and clik ADD button, the record will straight away show in the grid above.My grid is read-only mode(because of some calculation).Thus when user want to edit the imformation show in grid, user just go to grid ,clik on the record, AFTER press EDIT button, the infor will downloaded to the related textbox. after make change, Press Save button.After user really want to quit and comfirm the data where user key in just now, then user must PRESS Update button to write it into 'Physical' TABLE. Due to some reason, i can't use cursor to hold my data. i must write it into table using buffering. The real data are UPDATE to table only when use press UPDATE BUTTON...
>Problem is:
>1. when user click on EDIT button, i need a key for search for that record and download on textbox. i use (.grid1.column1.text1.value) before but not really good.
>2. when user click ADD button the record not show in the grid....
>
>Wau, sorry for long story.

OK, send me this form and some simple data.
BTW in ADD button you must insert in both tables in cTable1 (RecordSource for Grid) AND Table1 (actual table that holds the Data)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform