Le mercredi 16 mai 2007 15:MM, Marc Santhoff a écrit :

Hi, 

> Especially when using BASIC there is no way of converting datatyes using
> an API service (at lest one I know, please tell me if so!) so you'd have
> to convert each value to the type the bound fields wants to see. In
> BASIC this blows up code by factor three (I know for sure, because I
> have made some read- and write-back-macros for database data in calc
> sheets :P ).

Yep, code explosion :-(

>
> If one uses the control/view in this scenario the only types to detect
> are Date-, Time- and FormattedField bindings, all the rest is text. The
> conversion and format checking is done behind the scenes.

And it is still a pain having to convert dates from strings and back :-(

>
> I used this approach for copying a record in a form as template for e
> new one (excliding the primary key field).

Now I have exactly this problem, you wouldn't have some macro code lying 
around somewhere that you'd be willing to share by any chance ? (he says 
grovelling ;-) )

Alex

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to