|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Hello everybody!
This is my little programming problem in the Visual FoxPro! I created a MySQL - database - named="fondcar" and in this I have 1 table (for the begining ...) the table named -"editions" OK! I created a form which contain couple textboxes (for the fields) and couple command button (add datas, modify and delete data ...) And the form contain more a GRID! OK! The default param for grid are: - RecordSourceType=alias -RecordSource=None! in the init of the form I made a connection to the server with: MYCONN=SQLCONNECT("LOCALHOST","USER","PASS") and after i use a select for opening all my records from "editions" and i put them into CURSOR named "CURSOREDITION": =SQLEXEC(MYCONN,"SELECT * FROM EDITIONS ORDER BY IDEDITION","CURSOREDITION") and after i open this cursor to use for the form's controls: SELECT CURSOREDITION GO TOP BUT MY PROBLEM IS THAT IN THE GRID DONT DISPLAYED THE CONTENTS OF THE CURSOR "CURSOREDITION" AND MY GRID ON THE FORM IS EMPTY! and I dont know whats going on! IF SOMEBODY CAN HELP ME IM WAITING FOR OUR INDICATIONS! THANKS VERY MUCH EVERYBODY |
|
#2
|
|||
|
|||
|
before made a select you must trun
RecordSource=None after RecordSource="CURSOREDITION" thisform.refresh |
![]() |
| Viewing: Dev Shed Forums > Databases > Database Management > I have problem with GRID |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|