Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Point to the next row of data?
Message
 
 
To
23/01/2007 16:27:05
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01188332
Message ID:
01188352
Views:
14
This message has been marked as the solution to the initial question of the thread.
>Hi Sir,
>
>In my application, I have set five rows (2 textboxes, 1 combo box). The user can enter one or more data in the row. If the first row is not empty then the second row will be visible in case the user puts more data. The same with the rest of the rows. They appear if the textbox above them is populated.
>
>I have the btnSave.Click working as putting all these data in the table. Now I need to find a way to retrieve it if present, so the user can update it or delete it.
>
>Please help.
>
>Thanks,
>Sam

Try (just an idea, not tested)
thisform.AddProperty(arrRecords[1])
select myTable
lnI = 0
scan
  scatter name loName memo
  lnI = lnI + 1
  dimension thisform.arrRecords[lnI]
  thisform.arrRecords[lnI] = loName
endscan
Now you have all your records in array and you can set form's textboxes to the appropriate fields from the array.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform