I create a *.mdb file with DAO but I can not write date of system in one field of database record. In other word I dont know how define time field in DAO and how write date of system on that field.Please help me with a source file
thanks in advance,
I am making A LOT of assumptions about the code you sent, so keep that in mind:
- it looks like you declare database and recordset objects, but you do not attach them to your actual Access database
- you test for an IsOpen() function that expects a return of false with no brackets following it ???
I modified your code as follows:
NOTE - I did not try to compile and test this code. If this does not work, then I am not sure where your problem is.
I need information about what the first field in m_strFilter.Format(first field, second field) is. Is it the title of the column in your Database? If so, my Database has a column title with a space in between. I tried the command with it as such: m_strFilter.Format( "Stock Name='%s' ", mystock); and I get a syntax error missing operator error. Does anyone have any suggestions? Thanks a lot.
it might be too simple for you..but i am just a beginner....
i need to get all tables of a database in a list box and on clicking any one of them want to display the details,ie the fields in the table in another list box....pls help as early as possible......