Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Possible to use VirtualRecordSet WITHOUT PrimaryKey?

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Data Objects Support
View previous topic :: View next topic  
Author Message
temilson



Joined: 18 Nov 2006
Posts: 4

PostPosted: Sat Nov 18, 2006 6:50 am    Post subject: Possible to use VirtualRecordSet WITHOUT PrimaryKey? Reply with quote

Is it possible to use a VirtualRecordSet with a table that does NOT contain a PrimaryKey? Even to be able to display data in Read-Only format would be great.
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Sat Nov 18, 2006 10:04 pm    Post subject: Reply with quote

Yes you can display data from a table that does not contain a primary key (by specifying null as the primary field) - however there are some limitations with what you can do. Without a primary key VDO is unable determine whether two records in different recordsets are actually the same. This may mean for instance when you change the sort order in a Grid control that the selection is not maintained.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Data Objects Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group