[Gambas-user] Date difficulties
richard terry
rterry at ...1822...
Sat Jun 28 06:37:51 CEST 2008
Something I've never come to terms with which should be simple.
I have a class containing items including a date eg as a simple example which
dosn't exist and I don't use but will serve the purpose of the request:
cOrder
part as string
date as date
In a form I may have this sort of code
Dim order as new cOrder
and on the form, some textboxes e.g
txtPart
txtDate
When I type into the box I want the contents to end up in the class:
order.part = txtPart.text
order.date = txtDate.text
The program complains about invalid date.
I.e all I want is a simple exmple of how to use a textbox to put a date in the
correct format.
Hope that's not too ambiguous.
Thanks in advance.
Richard
More information about the User
mailing list