Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Clipper Visual-Objects > Basic Ado quest...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 9 Topic 11291 of 11795
Post > Topic >>

Basic Ado questions

by Rob van Erk <erk.v@[EMAIL PROTECTED] > Apr 6, 2008 at 12:36 PM

I created a datawindow which is using an Ado server (created in VO).
Some basic questions:

1) in the Ado Server I can add an additional property reading
"WhereClause". However, I would like to use the "WhereClause" in my
app as parameter giving the user the option to specify what data
should be retrieved, filling the Whereclause and afterward using the
Ado Server class as created from the "Tools", "Ado Server" option in
VO2.7. Not fully clear where to specify my "WhereClause" in a running
application.

2) in my datawindow (using the SQL server as defined in the Ado
Server) I simply put a statement
: self:oSFData_Sub:server:delete() to delete one selected row. I would
now know why I should delete a single record using SQL statements to
delete a SQL record. Is this approach ok?

3) see above. But now for going to the bottom & top record. I simply
put : self:oSFData_Sub:server:gotop(0

4) why does the self:oSFData_Sub:server:append() not work? Is this
because I should use the SQL INSERT statement instead or is this
because you can not append an empty record in case you created a
Primary KEY with "NOT NULL"?

5) what is meant by a cursor? I see this term coming back every time.

6) VO's CDRom does include a variety of ADO examples. For me the exact
usage of the AdoRecordSet is still not clear. When are you using this
in your VO applications?

I know.... basic questions but just following a step by step
approach... So far I'am very impressed on SQL Express, SQL Server
Management Studio Express and ADO. It is only difficult to get the
pieces together but we make some progress....


Thks for any feedback on the above.
Rob
 




 9 Posts in Topic:
Basic Ado questions
Rob van Erk <erk.v@[EM  2008-04-06 12:36:26 
Re: Basic Ado questions
"Geoff Schaller"  2008-04-06 21:48:03 
Re: Basic Ado questions
Rob van Erk <erk.v@[EM  2008-04-07 10:17:55 
Re: Basic Ado questions
Rob van Erk <erk.v@[EM  2008-04-07 13:08:50 
Re: Basic Ado questions
"Geoff Schaller"  2008-04-07 22:47:11 
Re: Basic Ado questions
Rob van Erk <erk.v@[EM  2008-04-08 11:02:25 
Re: Basic Ado questions
Rob van Erk <erk.v@[EM  2008-04-08 13:15:33 
Re: Basic Ado questions
"Geoff Schaller"  2008-04-08 22:12:10 
Re: Basic Ado questions
Rob van Erk <erk.v@[EM  2008-04-10 12:58:15 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 17:56:08 CST 2008.