| | |
updating fields in MS Access
Please support our Perl advertiser: Programming Forums - DaniWeb Sister Site
![]() |
hi,
I am having problem in updating tables in MS Access. The field which I
want to update is of DATE type.
here is the code..
#! C:\Perl\bin\perl.exe
This does not get updated. Why? what I should do??
Thank you,
Regards,
kath.
I am having problem in updating tables in MS Access. The field which I
want to update is of DATE type.
here is the code..
#! C:\Perl\bin\perl.exe
Perl Syntax (Toggle Plain Text)
use Win32::ODBC; my $db = new Win32::ODBC('ServerStatistics'); $q="select distinct(build_date) from wdf_history"; $db->Sql($q); while($db->FetchRow) { $s = $db->Data(); print $s; } $q = "select * from wdf_history where build_date='$s'"; while($db->FetchRow) { $s = $db->Data(); print $s; } $q="update wdf_history set build_date='2007-02-27' where build_date='$s'"; $db->Sql($q); $q = "select * from wdf_history where build_date='$s'"; while($db->FetchRow) { $s = $db->Data(); print $s; }
This does not get updated. Why? what I should do??
Thank you,
Regards,
kath.
![]() |
Similar Threads
- Date fields imported from access file to excel spreadsheet is converting to number (Visual Basic 4 / 5 / 6)
- Updating a record in an MS Access database file using DataSets (VB.NET)
- Deleting the database rows and adding new rows (Visual Basic 4 / 5 / 6)
- Urgent question about Updates (C#)
- Access INSERT problem (MS Access and FileMaker Pro)
- Error Message when updating fields (Pascal and Delphi)
- No Internet Access (Web Browsers)
Other Threads in the Perl Forum
- Previous Thread: How to skip a line !
- Next Thread: How to capture STDOUT and the exit code
| Thread Tools | Search this Thread |
Tag cloud for Perl





