Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old February 20th, 2003, 05:13 AM
gslgsl2002 gslgsl2002 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 1 gslgsl2002 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Angry I have problem with GRID

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

Reply With Quote
  #2  
Old August 19th, 2003, 03:51 AM
cbani1 cbani1 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Republic of Moldova
Posts: 3 cbani1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Talking

before made a select you must trun
RecordSource=None
after
RecordSource="CURSOREDITION"
thisform.refresh

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > I have problem with GRID


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

IBM developerWorks




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway