Search the web
Sign In
New User? Sign Up
memtable · Discuss the use of kbmMemTable and associated BCB/Delphi components.
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Please help with LoadFromDataSet   Message List  
Reply | Forward Message #6053 of 6065 |
I have a problem...need help

I load at rin time a KbmMemTAble with no field from a query

MTPersonal->Close();
MTPersonal->LoadFromDataSet(DM->qSelect,TkbmMemTableCopyTableOptions
() << mtcpoStructure << mtcpoProperties << mtcpoLookup <<
mtcpoCalculated << mtcpoFieldIndex);
MTPersonal->Open();


In that moment, i want to add new field to MTPersonal like
MTPersonal->FieldDefs->Add("TEST", ftString, 20 , true);


okkk...work but when i want to use the TEST field...MTPersonal->Locate
("TEST","1",Opts)

ERROR!! TEST field does not exist????

Please give advice how to add fields at run time, after
LoadFromDataSet






Tue Dec 16, 2008 9:45 am

blumy2005
Offline Offline
Send Email Send Email

Forward
Message #6053 of 6065 |
Expand Messages Author Sort by Date

I have a problem...need help I load at rin time a KbmMemTAble with no field from a query MTPersonal->Close(); ...
blumy2005
Offline Send Email
Dec 16, 2008
10:10 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help