Click here to Skip to main content
15,892,517 members
Home / Discussions / Database
   

Database

 
AnswerRe: How to retrieve binary file from Sql Server database to hard disk using SQL? Pin
PIEBALDconsult19-Jul-10 3:59
mvePIEBALDconsult19-Jul-10 3:59 
GeneralRe: How to retrieve binary file from Sql Server database to hard disk using SQL? Pin
Luc Pattyn19-Jul-10 4:40
sitebuilderLuc Pattyn19-Jul-10 4:40 
GeneralRe: How to retrieve binary file from Sql Server database to hard disk using SQL? Pin
PIEBALDconsult19-Jul-10 4:58
mvePIEBALDconsult19-Jul-10 4:58 
GeneralRe: How to retrieve binary file from Sql Server database to hard disk using SQL? Pin
Luc Pattyn19-Jul-10 5:19
sitebuilderLuc Pattyn19-Jul-10 5:19 
QuestionCreate a virtual table for form RecordSource Pin
john john mackey16-Jul-10 7:09
john john mackey16-Jul-10 7:09 
AnswerRe: Create a virtual table for form RecordSource Pin
Mycroft Holmes16-Jul-10 12:07
professionalMycroft Holmes16-Jul-10 12:07 
GeneralRe: Create a virtual table for form RecordSource Pin
Goutam Patra16-Jul-10 19:57
professionalGoutam Patra16-Jul-10 19:57 
GeneralRe: Create a virtual table for form RecordSource Pin
john john mackey19-Jul-10 9:47
john john mackey19-Jul-10 9:47 
YES! That's the ticket...

To initialize my RecordSource with an empty table that has the EmptyString instead of "#Name?" appearing, here is what I did.

I used a table that had a text data field (Label) and has as default value the empty string. I know that this table (tbl_MyHandyTable) will always be present. So I did this:
strSQL_subform = "SELECT [Lable] AS field1, [Label] AS field2, "
strSQL_subform = strSQL_subform + "[Label] AS field-N, "
...
strSQL_subform = strSQL_subform + "FROM [tbl_MyHandyTable] "
strSQL_subform = strSQL_subform + "WHERE 1=2;"

'initialize the record source with the empty table of EmptyStrings
Me.RecordSource = strSQL_subform


Thanks all!
GeneralRe: Create a virtual table for form RecordSource Pin
john john mackey19-Jul-10 9:48
john john mackey19-Jul-10 9:48 
AnswerRe: Create a virtual table for form RecordSource Pin
Bernhard Hiller22-Jul-10 20:16
Bernhard Hiller22-Jul-10 20:16 
QuestionCall Sp inside a SP and count the number of rows returned by the SP Pin
Kit Fisto15-Jul-10 23:28
Kit Fisto15-Jul-10 23:28 
AnswerRe: Call Sp inside a SP and count the number of rows returned by the SP Pin
Goutam Patra16-Jul-10 3:15
professionalGoutam Patra16-Jul-10 3:15 
GeneralRe: Call Sp inside a SP and count the number of rows returned by the SP Pin
Kit Fisto16-Jul-10 4:45
Kit Fisto16-Jul-10 4:45 
Questionvulnerability Pin
sowjanya315-Jul-10 22:07
sowjanya315-Jul-10 22:07 
AnswerRe: vulnerability Pin
Scubapro16-Jul-10 0:40
Scubapro16-Jul-10 0:40 
AnswerRe: vulnerability Pin
Mycroft Holmes16-Jul-10 12:02
professionalMycroft Holmes16-Jul-10 12:02 
GeneralRe: vulnerability Pin
sowjanya320-Jul-10 18:44
sowjanya320-Jul-10 18:44 
QuestionVery Tough CSV Data Import to SQL 2005 DB Table Challenge Pin
dsabjp14-Jul-10 16:54
dsabjp14-Jul-10 16:54 
AnswerRe: Very Tough CSV Data Import to SQL 2005 DB Table Challenge Pin
Mycroft Holmes14-Jul-10 19:33
professionalMycroft Holmes14-Jul-10 19:33 
GeneralRe: Very Tough CSV Data Import to SQL 2005 DB Table Challenge Pin
dsabjp17-Jul-10 16:37
dsabjp17-Jul-10 16:37 
QuestionIN Clause Best Practices? [solved] Pin
Dan Mos14-Jul-10 6:41
Dan Mos14-Jul-10 6:41 
AnswerRe: IN Clause Best Practices? Pin
Eddy Vluggen14-Jul-10 7:10
professionalEddy Vluggen14-Jul-10 7:10 
GeneralRe: IN Clause Best Practices? Pin
Dan Mos14-Jul-10 7:24
Dan Mos14-Jul-10 7:24 
GeneralRe: IN Clause Best Practices? Pin
Eddy Vluggen14-Jul-10 7:35
professionalEddy Vluggen14-Jul-10 7:35 
QuestionMessage Removed Pin
14-Jul-10 0:00
AussieLew14-Jul-10 0:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.