DreamGenius
Annoying Questionner
- Local time
- Today, 19:39
- Joined
- Jul 29, 2004
- Messages
- 116
All
I've searched these fora and know about export specifications but I can't figure out how to make them work in my instances. The story so far:
I have a module which imports a file called DBImport.csv from the Desktop into a temporary table called DataTemp, after getting the user to confirm that:
As an aside, if anyone can tell me how to move Serial to be the first column, that'd be appreciated too.
I've searched these fora and know about export specifications but I can't figure out how to make them work in my instances. The story so far:
I have a module which imports a file called DBImport.csv from the Desktop into a temporary table called DataTemp, after getting the user to confirm that:
- Field names appear on the first line
- The first field is called Member
- Which of four unique identifiers are used under Member
- Adds a new column called Serial, at the end of the table
- Populates Serial using one of four queries determined by 3 above
- Exports the records where Serial is NULL to DBErrors.csv on the Desktop
- Drops the column Member from DataTemp
- Exports the records where Serial is NOT NULL to DBExport.csv on the Desktop
- Drops DataTemp from the database
As an aside, if anyone can tell me how to move Serial to be the first column, that'd be appreciated too.
Last edited: