Is there a way to change a text field from numeric to alphanumeric.  I tried
this code:

FieldPtr fldP;
FieldAttrType fldT;

// Get the field pointer
if ((fldP = GetObjectPtr(field)) == NULL)
 return;
// Get the field attributes and set the numeric value
FldGetAttributes(fldP, &fldT);
fldT.numeric = 0;
// Save the field attributes
FldSetAttributes(fldP, &fldT);

and it seemed to work (a later look at the attributes shows them changed)
but it does not have any effect on the user input.

Any help would be appreciated.

Thanks,

Bruce Hartwig
Rivendell Development Corp





-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to