View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
joel joel is offline
external usenet poster
 
Posts: 9,101
Default adding record to database

If you didn't get an error there is 3 possibilities

1) You didn't get to the line where you are actually writing the data to the
database. Put a break point in the macro where you are writing the new data
by clicking on the line of the macro and pressing F9. See if you get to the
line you are expecting.
2) You wrote the data but you are not seeing it in the table. The table may
be filtered. Look at the raw data in the database tool like opening up
Access.. Also check the entire file for the record because to may of gotten
sorted or filtered. do a search using the Access of the database tool to
make sure it is not there.
3) You saved the file to another location on your PC and you are looking in
an older file
"Gary Keramidas" wrote:

having a problem adding a record to a dbf file, is this possible?

i gave code that opens the dbf, adds a row of data and when i save it as the
dbf, the record is not there. but if i open it, change an existing record
and save it, it works fine.

just wondering if i'm chasing my tail.

--

Gary Keramidas
Excel 2003