Can't anybody help me with this question.
I'm just wondering if i'm doing the correct thing or
not.

Please can somebody help. 
i have a table and by selecting on the 3rd column
which is textwithnote, i 
get a form with fields on it. 
For the rest of the columns in the table i am entering

text into them by selecting a push button, this will 
then write text to the table, but i need to update the

table by writing the text to the db 
i think this is done by 

case TABLE_COLUMN_ITEM: 
{ 
if (g_InfoFlag==50) 
{//having something like dmModeReadWrite in hear 
StrCopy(string,"Riene"); 
g_InfoFlag=0; 
} 
if (g_InfoFlag==51) 
{ 
StrCopy(string,"Mushroom"); 
g_InfoFlag=0; 
} 
break; 

is this correct 

and also the 3rd column in the table with the seperate

form with fields i mentioned, can i write the text to 
the db seperatly by coding something like this 

case frmOpenEvent: 
{ 
FrmDrawForm( form ); 
// Draw the database fields 
setFields(); 
} 
break; 

// Form close event 
case frmCloseEvent: 
{ 
// Store away any modified fields 
getFields(); 
} 
break; 

then have 

static void setFields( void ) 
static void getFields( void ) 
and maybe a find function 

thanks adam 



____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to