Hello. For a c++ Prog. i get CTime-Object from a access-DB. Converting into a Time-String for a Edit-Field is not a Problem. But: I have for Input three Date-Time-Picker, one for the day, the month, and the year. I've a great Problem to show the corrct dates in the Date-Time-Picker. First i'have tryed with a member on the dtp to convert the format member.setformat("dd"). This was ok. The DTP caught the systemtime korrekt in the form. But now I want to initialisize these tree DTP's with the Access CTime-Object. I'have tryed to split the CTime-Object with Format %d,%m,%Y)an then with setwindow text as Cstring. day and month was ok, but not the year (1970, instead of 1980), by the same method. Otherwise by storing i must store these three objects (day,mon, year) into a CTime-Object. Has someone a good idea for handling this????????? Thanks....
kopfschnecke
Posts
-
Date-Time-Picker -
CompilerI use the MS VCC+ 6.0 Compiler. After a system-crash i have great problems, to open the project. During opening the project uses nearly 100% of CPU an i can wait a long time. The same by changing in the project. What can i do?
-
DateTimePickerHow can i get the date from a coleobj (DateTimePicker) and convert it to a access time format (date, short, 99:99:99,0)
-
DATE/TIMEPICKERKann mir jemand 'n Tip geben, wie ich die Date-/Timepicker so konfigurieren kann, das jeweils nur die Tage, Monate bzw. Jahre angezeigt werden und nicht der ganze Kalender????? :suss:
-
ODBC-TreiberBeim Versuch eine Access-DB in eine MDI-Anwendung (über RecordSet) einzubinden, bekomme ich immer die Fehlermeldung: Der ODBC-Treiber unterstützt keine Dynasets. Bei der Anlage des RecordSets wurde die DB-Tab korrekt als Dynaset eingebunden. Bei einem anderen SDI-Projekt war dies mit einer ähnlich strukturierten Access-DB, mit den gleichen ODBC-Treibern problemlos möglich. Bin für jede Lösung dankbar...