in reply to Re: Inserting values into MS Access
in thread Inserting values into MS Access
then I do get out all the data outputed from the Master table. But If is stick this line$EDS_DB->Sql("INSERT INTO Servers (Server_Name,Platform,SAN) VALUES ('$srv_name','$platform','$San')"); just before the the end of the loop (i.e. before the last curly bracket) then only one entry (i.e. record) will be inserted into my Servers table!!while ($EDS_DB->FetchRow()) { my %data = $EDS_DB->DataHash(); $srv_name = $data{"Server_Name"}; $San = $data{"SAN"}; $platform = $data{"Platform"}; print qq(Server Name is $srv_name,$platform,$San\n); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Inserting values into MS Access
by davidrw (Prior) on Jun 06, 2005 at 16:43 UTC | |
by blackadder (Hermit) on Jun 06, 2005 at 21:16 UTC |